匹配新版本路径逻辑

This commit is contained in:
AlexisinGit 2025-08-27 05:30:39 +08:00
parent ffb0732ed8
commit b8c7874eeb
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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);