修改docker部署
This commit is contained in:
@@ -10,7 +10,7 @@ const dest = path.resolve(process.cwd(), 'public/intl/country');
|
|||||||
const files = fs.readdirSync(src);
|
const files = fs.readdirSync(src);
|
||||||
|
|
||||||
const getUrl = locale =>
|
const getUrl = locale =>
|
||||||
`https://raw.githubusercontent.com/umpirsky/country-list/master/data/${locale}/country.json`;
|
`https://hub.diyla.com/https://raw.githubusercontent.com/umpirsky/country-list/master/data/${locale}/country.json`;
|
||||||
|
|
||||||
const asyncForEach = async (array, callback) => {
|
const asyncForEach = async (array, callback) => {
|
||||||
for (let index = 0; index < array.length; index++) {
|
for (let index = 0; index < array.length; index++) {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ const dest = path.resolve(process.cwd(), 'public/intl/language');
|
|||||||
const files = fs.readdirSync(src);
|
const files = fs.readdirSync(src);
|
||||||
|
|
||||||
const getUrl = locale =>
|
const getUrl = locale =>
|
||||||
`https://raw.githubusercontent.com/umpirsky/language-list/master/data/${locale}/language.json`;
|
`https://hub.diyla.com/https://raw.githubusercontent.com/umpirsky/language-list/master/data/${locale}/language.json`;
|
||||||
|
|
||||||
const asyncForEach = async (array, callback) => {
|
const asyncForEach = async (array, callback) => {
|
||||||
for (let index = 0; index < array.length; index++) {
|
for (let index = 0; index < array.length; index++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user