mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-11-06 20:22:04 +08:00
Update dependencies (#462)
This commit is contained in:
@@ -303,8 +303,8 @@ export default (domain, domains, global, ipPortPairs) => {
|
||||
domain.routing.fallbackHtml.computed
|
||||
? 'html'
|
||||
: domain.routing.fallbackPhp.computed
|
||||
? 'php'
|
||||
: ''
|
||||
? 'php'
|
||||
: ''
|
||||
} fallback`,
|
||||
'',
|
||||
]);
|
||||
@@ -315,8 +315,8 @@ export default (domain, domains, global, ipPortPairs) => {
|
||||
domain.routing.fallbackHtml.computed
|
||||
? 'html'
|
||||
: domain.routing.fallbackPhp.computed
|
||||
? 'php?$query_string'
|
||||
: ''
|
||||
? 'php?$query_string'
|
||||
: ''
|
||||
}`,
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -113,9 +113,8 @@ export default (domains, global) => {
|
||||
domains.map((domain, index) => [domain, index]).filter((d) => d[0] !== null),
|
||||
global,
|
||||
);
|
||||
files[
|
||||
'nginxconfig.txt'
|
||||
] = `${window.location.protocol}//${window.location.host}${window.location.pathname}${query}`;
|
||||
files['nginxconfig.txt'] =
|
||||
`${window.location.protocol}//${window.location.host}${window.location.pathname}${query}`;
|
||||
|
||||
return files;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user