mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 04:22:09 +00:00
fix: rely on svelte's default cache settings
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import express from 'express';
|
||||
import compression from 'compression'
|
||||
import { cache } from './cache.js';
|
||||
import { sitemap } from './sitemap.js'
|
||||
import { handler } from '../build/handler.js';
|
||||
|
||||
async function main() {
|
||||
const app = express();
|
||||
app.use(cache());
|
||||
app.use(compression());
|
||||
app.use(await sitemap());
|
||||
app.use(handler);
|
||||
|
||||
Reference in New Issue
Block a user