1
0
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:
Braun Patrik
2016-03-20 16:54:30 +01:00
parent d6cd1798b5
commit 9f55214e38
16 changed files with 119 additions and 28 deletions

View File

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