mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
238 B
TypeScript
10 lines
238 B
TypeScript
import modRewrite = require('connect-modrewrite');
|
|
import express = require('express');
|
|
|
|
var app = express();
|
|
|
|
app.use(modRewrite([
|
|
'^/test$ /index.html',
|
|
'^/test/\\d*$ /index.html [L]',
|
|
'^/test/\\d*/\\d*$ /flag.html [L]',
|
|
])); |