api proxy
This commit is contained in:
@@ -2,6 +2,7 @@ export const useMyFetch = (url, options = {}) => {
|
||||
let defaultOptions = {
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
}
|
||||
}
|
||||
if (process.server) {
|
||||
|
||||
Reference in New Issue
Block a user