more frontend work to set backend port
This commit is contained in:
12
frontend/src/services/backend-api.js
Normal file
12
frontend/src/services/backend-api.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import ky from 'ky';
|
||||
|
||||
const url = 'https://sindresorhus.com';
|
||||
const backendPort = 3500
|
||||
|
||||
const backendAPI = ky.create({
|
||||
headers: {
|
||||
rainbow: 'rainbow',
|
||||
unicorn: 'unicorn'
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user