Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kozlov authored and Andrey Kozlov committed Jun 7, 2022
1 parent 5a4955b commit d30b8ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions netlify/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// having to bother with any packages or similar problems.
const fs = require('fs/promises');
const path = require('path');
const net = require('net');

const oldCreateConnection = require('https').globalAgent.createConnection;
require('https').globalAgent.createConnection = function(options, cb) {
Expand Down Expand Up @@ -56,7 +55,6 @@ function get(path) {
const base = process.env.DEBUG_SERVER ? 'http://localhost:3000' : 'https://weblandscapes.ddns.net';
const http = require(base.indexOf('http://') === 0 ? 'http' : 'https');

let data = '';
path = `${base}/api/console/download/${path}`;
const req = http.request(path, function(res) {
resolve({
Expand Down Expand Up @@ -160,6 +158,7 @@ function server() {

async function main() {
server();
//eslint-disable-next-line no-constant-condition
while(true) {
await build();
}
Expand Down

0 comments on commit d30b8ad

Please sign in to comment.