mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-13 23:26:27 +02:00
fix: type as module
This commit is contained in:
parent
2d8c26f156
commit
234530ed60
6 changed files with 12 additions and 11 deletions
|
@ -2,13 +2,13 @@
|
|||
import { create, setLogLevel } from 'logplease';
|
||||
import express from 'express';
|
||||
import expressWs from 'express-ws';
|
||||
import * as globals from './globals';
|
||||
import config from './config';
|
||||
import * as globals from './globals.js';
|
||||
import config from './config.js';
|
||||
import { join } from 'path';
|
||||
import { readdir } from 'fs/promises';
|
||||
import { existsSync, mkdirSync, chmodSync } from 'fs';
|
||||
import { urlencoded, json } from 'body-parser';
|
||||
import { load_package } from './runtime';
|
||||
import { load_package } from './runtime.js';
|
||||
|
||||
const logger = create('index', {});
|
||||
const app = express();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue