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 * as build from "@remix-run/dev/server-build";
|
||||
import { createRequestHandler } from "@netlify/remix-edge-adapter";
|
||||
import * as build from '@remix-run/dev/server-build';
|
||||
import { createRequestHandler } from '@netlify/remix-edge-adapter';
|
||||
|
||||
export default createRequestHandler({
|
||||
build,
|
||||
|
|
@ -9,8 +9,12 @@ export default createRequestHandler({
|
|||
});
|
||||
|
||||
export const config = {
|
||||
cache: "manual",
|
||||
path: "/*",
|
||||
cache: 'manual',
|
||||
path: '/*',
|
||||
// Pass all assets to the netlify asset server
|
||||
excluded_patterns: ["/_assets/*"],
|
||||
excluded_patterns: [
|
||||
'^\\/_assets\\/[^\\/]*$',
|
||||
'^\\/shared\\/[^\\/]*$',
|
||||
// '^\\/**\\/[^\\/]*$',
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue