mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-24 08:23:48 -05:00
server: Move source to src
folder
This commit is contained in:
parent
7f2c4f48b2
commit
5d19c77dce
@ -19,6 +19,6 @@
|
||||
"ws": "^8.2.3"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "ts-node ./server.ts"
|
||||
"start": "ts-node ./src/server.ts"
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
import * as WebSocket from 'ws';
|
||||
import fetch from 'node-fetch';
|
||||
|
||||
import {ExtendedMessage} from '../types/messages';
|
||||
import * as octoprint from '../types/octoprint';
|
||||
import {ExtendedMessage} from '../../types/messages';
|
||||
import * as octoprint from '../../types/octoprint';
|
||||
|
||||
const PING_TIME = 10000;
|
||||
|
@ -6,7 +6,7 @@ import * as yaml from 'js-yaml';
|
||||
import * as expressWs from 'express-ws';
|
||||
import * as WebSocket from 'ws';
|
||||
|
||||
import { ExtendedMessage } from '../types/messages';
|
||||
import { ExtendedMessage } from '../../types/messages';
|
||||
import OctoPrintConnection from './OctoPrintConnection';
|
||||
|
||||
const PORT = process.env.PORT || 1234;
|
Loading…
Reference in New Issue
Block a user