mirror of
https://github.com/MrTalon63/NeoMap.git
synced 2026-01-11 03:49:13 +01:00
Remove html from server
This commit is contained in:
parent
765d1fa075
commit
e87cc775c8
2 changed files with 1 additions and 2 deletions
|
|
@ -4,3 +4,4 @@ export const db = await new Database(Deno.env.get("DB_PATH") || "./neomap.sqlite
|
|||
db.prepare("CREATE TABLE IF NOT EXISTS hexes (hex_id TEXT PRIMARY KEY NOT NULL CHECK(hex_id GLOB '[0-9a-f]*'), wifi INTEGER DEFAULT 0 NOT NULL, gsm INTEGER DEFAULT 0 NOT NULL, wcdma INTEGER DEFAULT 0 NOT NULL, lte INTEGER DEFAULT 0 NOT NULL, ble INTEGER DEFAULT 0 NOT NULL, created_at INTEGER DEFAULT (strftime('%s', 'now')) NOT NULL, last_update INTEGER DEFAULT (strftime('%s', 'now')) NOT NULL);").run();
|
||||
db.exec("PRAGMA journal_mode = WAL;");
|
||||
db.exec("PRAGMA busy_timeout = 5000;");
|
||||
db.exec("PRAGMA synchronous = NORMAL;");
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@ import { db } from "./db.ts";
|
|||
import { kv } from "./kv.ts";
|
||||
import { Geosubmit } from "./types.d.ts";
|
||||
|
||||
import { stats } from "./html/stats.ts";
|
||||
|
||||
const app = new Hono();
|
||||
|
||||
app.use(logger(), compress());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue