вроде сделал правильно но ошибка
import express from 'express';
import { CONFIG } from './constants.js';
const server = express();
//Here, we'll implement our routes and middleware
server.get('/check', (req, res) => {
const version = { version: '0.0.1' };
return res.json(version)
})
server.get('/CONFIG', (req, res) => {
const CONFIG = { title: '',
currency: {},
producers: [],
upgrades: [],
achievements: [],
chitChat: [],
prestigeLevels: [] };
return res.json(CONFIG)
})
export { server };