Added AxiosStrategy and ProxyStrategy Network Strategies
This commit is contained in:
8
functions/strategies/AxiosStrategy.js
Normal file
8
functions/strategies/AxiosStrategy.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import axios from "axios";
|
||||
|
||||
const axiosStrategy = async (req, _store) => {
|
||||
const res = await axios(req);
|
||||
return res;
|
||||
}
|
||||
|
||||
export default axiosStrategy;
|
||||
Reference in New Issue
Block a user