mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-21 16:37:23 -05:00
Rename web-server to src/ and change start script accordingly
This commit is contained in:
parent
754b9be789
commit
8f042e81ae
|
|
@ -4,7 +4,7 @@
|
|||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node ."
|
||||
"start": "node src/index.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
const logger = require('../logger');
|
||||
const logger = require('./logger');
|
||||
const express = require('express');
|
||||
const handlebars = require('express-handlebars');
|
||||
|
||||
|
|
@ -3,6 +3,6 @@ module.exports = (variant, language) => {
|
|||
return require(`../locales/${variant}_${language}.json`);
|
||||
} catch(e) {
|
||||
// Use US_en as a fallback
|
||||
return require("../locales/US_en.json");
|
||||
return require('../locales/US_en.json');
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user