~denisebitca/lowf

bc783c44a81d1ab470600d81aed473d47e2b7bc2 — Rafael Bitca 2 years ago 5a2c202
Added static view for logs
1 files changed, 1 insertions(+), 0 deletions(-)

M src/classes/ChatServer.ts
M src/classes/ChatServer.ts => src/classes/ChatServer.ts +1 -0
@@ 29,6 29,7 @@ export class ChatServer {

        //Setting up Express routes
        ChatServer.app.use('/', express.static(config.websiteDir));
        ChatServer.app.use('/logs', express.static(config.logDir));

        if(debug){
            ChatServer.server = ChatServer.app.listen(port, ()=>{