Move server to root dir.
This commit is contained in:
parent
8656bdd74e
commit
324fceb5c3
11 changed files with 11 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
||||||
const {request} = require('./core/server');
|
const {request} = require('./server');
|
||||||
|
|
||||||
const config = module.exports = {
|
const config = module.exports = {
|
||||||
_update: query => {
|
_update: query => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const {win, lo} = require('../globals');
|
const {win, lo} = require('../globals');
|
||||||
const {request} = require('./server');
|
const {request} = require('../server');
|
||||||
const allsettings = require('./settings');
|
const allsettings = require('./settings');
|
||||||
const event = require('./event');
|
const event = require('./event');
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const {jq, lo, marked} = require('../globals');
|
const {jq, lo, marked} = require('../globals');
|
||||||
|
const server = require('../server');
|
||||||
const event = require('../core/event');
|
const event = require('../core/event');
|
||||||
const server = require('../core/server');
|
|
||||||
const allsettings = require('../core/settings');
|
const allsettings = require('../core/settings');
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
const {jq, lo} = require('../globals');
|
const {jq, lo} = require('../globals');
|
||||||
|
const server = require('../server');
|
||||||
const event = require('../core/event');
|
const event = require('../core/event');
|
||||||
const location = require('../core/location');
|
const location = require('../core/location');
|
||||||
const resource = require('../core/resource');
|
const resource = require('../core/resource');
|
||||||
const server = require('../core/server');
|
|
||||||
const allsettings = require('../core/settings');
|
const allsettings = require('../core/settings');
|
||||||
|
|
||||||
const settings = lo.extend({
|
const settings = lo.extend({
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
const {win, jq, lo} = require('../globals');
|
const {win, jq, lo} = require('../globals');
|
||||||
|
const server = require('../server');
|
||||||
const event = require('../core/event');
|
const event = require('../core/event');
|
||||||
const format = require('../core/format');
|
const format = require('../core/format');
|
||||||
const langs = require('../core/langs');
|
const langs = require('../core/langs');
|
||||||
const server = require('../core/server');
|
|
||||||
const allsettings = require('../core/settings');
|
const allsettings = require('../core/settings');
|
||||||
const store = require('../core/store');
|
const store = require('../core/store');
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const {win, jq, lo} = require('../globals');
|
const {win, jq, lo} = require('../globals');
|
||||||
|
const server = require('../server');
|
||||||
const event = require('../core/event');
|
const event = require('../core/event');
|
||||||
const server = require('../core/server');
|
|
||||||
const allsettings = require('../core/settings');
|
const allsettings = require('../core/settings');
|
||||||
const preview = require('./preview');
|
const preview = require('./preview');
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
const {jq, lo} = require('../globals');
|
const {jq, lo} = require('../globals');
|
||||||
|
const server = require('../server');
|
||||||
const event = require('../core/event');
|
const event = require('../core/event');
|
||||||
const location = require('../core/location');
|
const location = require('../core/location');
|
||||||
const resource = require('../core/resource');
|
const resource = require('../core/resource');
|
||||||
const server = require('../core/server');
|
|
||||||
const allsettings = require('../core/settings');
|
const allsettings = require('../core/settings');
|
||||||
const util = require('../core/util');
|
const util = require('../core/util');
|
||||||
const Item = require('../model/item');
|
const Item = require('../model/item');
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const {lo} = require('../globals');
|
const {lo} = require('../globals');
|
||||||
|
const server = require('../server');
|
||||||
const event = require('../core/event');
|
const event = require('../core/event');
|
||||||
const server = require('../core/server');
|
|
||||||
const allsettings = require('../core/settings');
|
const allsettings = require('../core/settings');
|
||||||
|
|
||||||
const settings = lo.extend({
|
const settings = lo.extend({
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
const {win, jq} = require('../globals');
|
const {win, jq} = require('../globals');
|
||||||
const config = require('../config');
|
const config = require('../config');
|
||||||
|
const server = require('../server');
|
||||||
const resource = require('../core/resource');
|
const resource = require('../core/resource');
|
||||||
const server = require('../core/server');
|
|
||||||
|
|
||||||
|
|
||||||
const tplTests =
|
const tplTests =
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const {lo} = require('../globals');
|
const {lo} = require('../globals');
|
||||||
|
const server = require('../server');
|
||||||
const location = require('../core/location');
|
const location = require('../core/location');
|
||||||
const server = require('../core/server');
|
|
||||||
const settings = require('../core/settings');
|
const settings = require('../core/settings');
|
||||||
const types = require('../core/types');
|
const types = require('../core/types');
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
const {jq, lo} = require('../globals');
|
const {jq, lo} = require('./globals');
|
||||||
|
|
||||||
function request(data) {
|
function request(data) {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
Loading…
Add table
Reference in a new issue