fix: url error in TravelPolicy method
This commit is contained in:
1 parent
1a8a9475ed
commit
3b0e041add
1 file changed
+1
-1
+1
-1
@@ -120,7 +120,7 @@ export const TravelDataCity = async (req, res) => {
|
||||
// Get Travel Prevention Policies
|
||||
export const TravelPolicy = async (req, res) => {
|
||||
const { juhe } = process.env;
|
||||
const travelPreventionUrl = `https://http://apis.juhe.cn/springTravel/query?key=${juhe}&from=10191&to=10349`
|
||||
const travelPreventionUrl = `https://apis.juhe.cn/springTravel/query?key=${juhe}&from=10191&to=10349`
|
||||
try {
|
||||
axios.get(travelPreventionUrl).then((result) => {
|
||||
const { data } = result;
|
||||
|
||||
Reference in new issue
Block a user