🐛 Fixed Nuxt loader won't finish after response
This commit is contained in:
@@ -3,11 +3,11 @@ import axios from "axios";
|
||||
const proxyStrategy = async (req, store) => {
|
||||
const { data } = await axios.post(
|
||||
store.state.postwoman.settings.PROXY_URL ||
|
||||
"https://postwoman.apollotv.xyz/",
|
||||
"https://postwoman.apollotv.xyz/",
|
||||
req
|
||||
);
|
||||
|
||||
window.$nuxt.$loading.finish();
|
||||
return data;
|
||||
}
|
||||
};
|
||||
|
||||
export default proxyStrategy;
|
||||
|
||||
Reference in New Issue
Block a user