🐛 Fixed Nuxt loader won't finish after response

This commit is contained in:
Liyas Thomas
2020-01-15 06:33:04 +05:30
parent 1b783fdfa0
commit 061f86fbfa
2 changed files with 5 additions and 4 deletions

View File

@@ -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;