feat: trying to add hashes to scripts
This commit is contained in:
17
main.ts
17
main.ts
@@ -1,12 +1,7 @@
|
||||
/// <reference no-default-lib="true" />
|
||||
/// <reference lib="dom" />
|
||||
/// <reference lib="dom.iterable" />
|
||||
/// <reference lib="dom.asynciterable" />
|
||||
/// <reference lib="deno.ns" />
|
||||
import { App, staticFiles } from "fresh";
|
||||
|
||||
import { start } from "$fresh/server.ts";
|
||||
import manifest from "./fresh.gen.ts";
|
||||
import config from "./fresh.config.ts";
|
||||
// import "@lib/telegram.ts";
|
||||
|
||||
await start(manifest, config);
|
||||
export const app = new App()
|
||||
// Add static file serving middleware
|
||||
.use(staticFiles())
|
||||
// Enable file-system based routing
|
||||
.fsRoutes();
|
||||
|
||||
Reference in New Issue
Block a user