mirror of
https://github.com/wassname/talk.git
synced 2026-08-08 11:28:12 +08:00
fix: patched issues with static
This commit is contained in:
@@ -2,7 +2,7 @@ import serveStatic from "express-static-gzip";
|
||||
import path from "path";
|
||||
|
||||
const staticPath = path.resolve(
|
||||
path.join(__dirname, "..", "..", "..", "..", "static", "assets")
|
||||
path.join(__dirname, "..", "..", "..", "..", "..", "dist", "static", "assets")
|
||||
);
|
||||
|
||||
export default serveStatic(staticPath, { index: false });
|
||||
|
||||
Reference in New Issue
Block a user