匹配新版本路径逻辑
This commit is contained in:
		
							parent
							
								
									ffb0732ed8
								
							
						
					
					
						commit
						b8c7874eeb
					
				@ -1,4 +1,13 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
if [ -d "static/data/0/" ]; then
 | 
			
		||||
    echo "Updating stripped assets..."
 | 
			
		||||
    cd static/data/0/
 | 
			
		||||
    git pull
 | 
			
		||||
    cd ../../../
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
echo "Updating dependencies..."
 | 
			
		||||
npm i --omit=dev
 | 
			
		||||
 | 
			
		||||
npm run build
 | 
			
		||||
if [ $? -eq 0 ]; then
 | 
			
		||||
 | 
			
		||||
@ -36,7 +36,7 @@ import { InventorySlot, LoadoutIndex } from "../../types/inventoryTypes/inventor
 | 
			
		||||
import { logger } from "../../utils/logger.ts";
 | 
			
		||||
import type { RequestHandler } from "express";
 | 
			
		||||
import { Types } from "mongoose";
 | 
			
		||||
import { config } from "@/src/services/configService";
 | 
			
		||||
import { config } from "../../services/configService.ts";
 | 
			
		||||
 | 
			
		||||
export const nemesisController: RequestHandler = async (req, res) => {
 | 
			
		||||
    const account = await getAccountForRequest(req);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user