Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Oct 9, 2023
1 parent 63b9b1b commit 9556ddd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/keystatic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@
"node": "./src/api/webcrypto/node.ts",
"default": "./src/api/webcrypto/default.ts"
},
"#api-handler": {
"node": "./src/api/api-node.ts",
"default": "./src/api/api-noop.ts"
},
"#field-ui/*": {
"react-server": "./src/form/fields/empty-field-ui.tsx",
"default": "./src/form/fields/*/ui.tsx"
Expand Down
2 changes: 1 addition & 1 deletion packages/keystatic/src/api/generic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
KeystaticRequest,
redirect,
} from './internal-utils';
import { handleGitHubAppCreation, localModeApiHandler } from './api-node';
import { handleGitHubAppCreation, localModeApiHandler } from '#api-handler';
import { webcrypto } from '#webcrypto';
import { bytesToHex } from '../hex';

Expand Down

0 comments on commit 9556ddd

Please sign in to comment.