-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
featureNew feature to be addedNew feature to be added
Description
Nexys needs an adapter on serverside to use fetch implementation similar to localStorage adapter.
Will be tested with well known fetch packages like node-fetch or new fetch on new NodeJS environments.
We need adapters because of our 0 dependency policy.
nexys/packages/nexys/src/classes/API/index.ts
Lines 56 to 63 in 3bb10ec
| return fetch(server, { | |
| method: "POST", | |
| headers: { | |
| "Content-Type": "application/json", | |
| ...headers, | |
| }, | |
| body: JSON.stringify({ ...data, project: this._appName }), | |
| }).then(async (res: Response) => { |
Metadata
Metadata
Assignees
Labels
featureNew feature to be addedNew feature to be added