sitemap catch
parent
d6ced43672
commit
3e36a751b6
|
@ -7,4 +7,4 @@ NEXT_PUBLIC_API_URL=https://api.hamyanedalat.com/api
|
|||
NEXT_PUBLIC_STORAGE_URL=http://storage.hamyanedalat.com
|
||||
STORAGE_URL=http://storage.hamyanedalat.com
|
||||
NEXT_PUBLIC_PHONE_NUMBER=02122894819
|
||||
NEXT_PUBLIC_PACKAGE_VERSION=0.0.4.8
|
||||
NEXT_PUBLIC_PACKAGE_VERSION=0.0.5.9
|
|
@ -14,5 +14,5 @@ CMD ["node_modules/.bin/next", "start"]
|
|||
|
||||
|
||||
|
||||
# docker build -f Dockerfile.x -t registry.vnfco.ir/hamyan/web:0.0.2.6 .
|
||||
# docker push registry.vnfco.ir/hamyan/web:0.0.3.7
|
||||
# docker build -f Dockerfile.x -t registry.vnfco.ir/hamyan/web:0.0.4.8 .
|
||||
# docker push registry.vnfco.ir/hamyan/web:0.0.4.8
|
|
@ -2,7 +2,8 @@ import xml2js from "xml2js";
|
|||
|
||||
async function getData(id) {
|
||||
const res = await fetch(
|
||||
`https://storage.hamyanedalat.com/site-maps/site-map.xml`
|
||||
`https://storage.hamyanedalat.com/site-maps/site-map.xml`,
|
||||
{ cache: "no-cache" }
|
||||
);
|
||||
const xml = await res.text();
|
||||
|
||||
|
|
Loading…
Reference in New Issue