mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
hm
This commit is contained in:
parent
f245eb5393
commit
ceff2d0662
1 changed files with 9 additions and 5 deletions
14
server.ts
14
server.ts
|
|
@ -1,6 +1,6 @@
|
||||||
// Import path interpreted by the Remix compiler
|
// Import path interpreted by the Remix compiler
|
||||||
import * as build from "@remix-run/dev/server-build";
|
import * as build from '@remix-run/dev/server-build';
|
||||||
import { createRequestHandler } from "@netlify/remix-edge-adapter";
|
import { createRequestHandler } from '@netlify/remix-edge-adapter';
|
||||||
|
|
||||||
export default createRequestHandler({
|
export default createRequestHandler({
|
||||||
build,
|
build,
|
||||||
|
|
@ -9,8 +9,12 @@ export default createRequestHandler({
|
||||||
});
|
});
|
||||||
|
|
||||||
export const config = {
|
export const config = {
|
||||||
cache: "manual",
|
cache: 'manual',
|
||||||
path: "/*",
|
path: '/*',
|
||||||
// Pass all assets to the netlify asset server
|
// Pass all assets to the netlify asset server
|
||||||
excluded_patterns: ["/_assets/*"],
|
excluded_patterns: [
|
||||||
|
'^\\/_assets\\/[^\\/]*$',
|
||||||
|
'^\\/shared\\/[^\\/]*$',
|
||||||
|
// '^\\/**\\/[^\\/]*$',
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue