Skip to content

Commit d887270

Browse files
committed
Add /faucet prefix to sassMiddleware
1 parent d95f3df commit d887270

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ export async function createApp(): Promise<[express.Application, Context]> {
2626
src: path.join(__dirname, "public"),
2727
dest: path.join(__dirname, "public"),
2828
indentedSyntax: true, // true = .sass and false = .scss
29-
sourceMap: true
29+
sourceMap: true,
30+
prefix: "/faucet"
3031
}));
3132
app.use("/faucet", express.static(path.join(__dirname, "public")));
3233
morganBody(app);

0 commit comments

Comments
 (0)