You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-12-13 23:56:56 +02:00
implementing gallery photo rendering
This commit is contained in:
@@ -10,7 +10,7 @@ export class PublicRouter{
|
||||
this.app.use('/node_modules',_express.static(_path.resolve(__dirname, './../../node_modules')));
|
||||
|
||||
var renderIndex = (req: _express.Request, res: _express.Response) => {
|
||||
res.sendFile(_path.resolve(__dirname, './../frontend/index.html'));
|
||||
res.sendFile(_path.resolve(__dirname, './../../frontend/index.html'));
|
||||
};
|
||||
this.app.get(['/login',"/gallery"], renderIndex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user