Skip to content

Commit b828d89

Browse files
committed
endpoints.json loaded using static import with attribute
1 parent 1ea72bb commit b828d89

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
// Args: key and ID below respectively denote private key and endpoint ID.
1111
// Example: See 'https://securelay.github.io/api/test.js' for usage example.
1212

13-
export const version = '0.0.4';
13+
import endpoints from './endpoints.json' with { type: 'json' };
1414

15-
const endpoints = { alz2h: ['https://securelay.vercel.app'] };
15+
export const version = '0.0.5';
1616

1717
const keyring = new Map();
1818

0 commit comments

Comments
 (0)