Make build configuration

This commit is contained in:
2025-05-03 14:46:27 +02:00
parent 66424d0c85
commit 2c44979078
4 changed files with 7 additions and 5 deletions

View File

@@ -1,9 +1,11 @@
const { LowSync } = require('lowdb');
const { JSONFileSync } = require('lowdb/node');
import {LowSync} from 'lowdb';
//const { JSONFileSync } = require('lowdb/node');
import {JSONFileSync} from 'lowdb/node';
const db = new LowSync(new JSONFileSync('file.json'), {})
const { createServer } = require('node:http');
import {createServer} from 'node:http';
//const { createServer } = require('node:http');
const key = "c3dpZ2dpdHlzd29vdHkK";
const reStoreWrite = new RegExp(`/write/${key}/?`)