Add user profile image

This commit is contained in:
jeffvli
2022-11-13 20:18:23 -08:00
parent 14c22c63a0
commit 1babcc40ee
19 changed files with 1457 additions and 118 deletions
+2
View File
@@ -17,8 +17,10 @@ const PORT = 9321;
const app = express();
const staticPath = path.join(__dirname, '../feishin-client/');
const filesPath = path.join(__dirname, './files/');
app.use(express.static(staticPath));
app.use('/files', express.static(filesPath));
app.use(
cors({
credentials: false,