mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-14 00:02:18 +02:00
Add user profile image
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user