mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-08-19 23:25:22 -05:00
Rename web-server to src/ and change start script accordingly
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user