Fix enter handling

This commit is contained in:
Dominic Zimmer
2025-05-03 18:00:57 +02:00
parent 2c44979078
commit e32c976d87
2 changed files with 20 additions and 14 deletions

View File

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