mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 11:15:14 +00:00
Add support for custom route file extensions.
This commit is contained in:
9
test/apps/custom-extension/src/server.js
Normal file
9
test/apps/custom-extension/src/server.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import polka from 'polka';
|
||||
import * as sapper from '@sapper/server';
|
||||
|
||||
import { start } from '../../common.js';
|
||||
|
||||
const app = polka()
|
||||
.use(sapper.middleware())
|
||||
|
||||
start(app);
|
||||
Reference in New Issue
Block a user