12 lines
311 B
TypeScript
12 lines
311 B
TypeScript
import { defineConfig } from "$fresh/server.ts";
|
|
import twind from "$fresh/plugins/twindv1.ts";
|
|
import twindConfig from "./twind.config.ts";
|
|
import { authMiddleware } from "api/auth.middleware.ts";
|
|
|
|
export default defineConfig({
|
|
plugins: [twind(twindConfig)],
|
|
middleware: {
|
|
auth: authMiddleware
|
|
}
|
|
});
|