Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/wincloud_gateway/node_modules/strapi-admin/admin/src/ drwxr-xr-x | |
| Viewing file: Select action/file-type: /* eslint-disable */
// Retrieve remote and backend URLs.
const remoteURL = (() => {
if (window.location.port === '4000') {
return 'http://localhost:4000/admin';
}
// Relative URL (ex: /dashboard)
if (process.env.REMOTE_URL[0] === '/') {
return (window.location.origin + process.env.REMOTE_URL).replace(/\/$/, '');
}
return process.env.REMOTE_URL.replace(/\/$/, '');
})();
const backendURL =
process.env.BACKEND_URL === '/'
? window.location.origin
: process.env.BACKEND_URL;
// Retrieve development URL to avoid to re-build.
const $body = document.getElementsByTagName('body')[0];
const devFrontURL = $body.getAttribute('front')
? window.location.origin + $body.getAttribute('front').replace(/\/$/, '')
: null;
const devBackendURL = $body.getAttribute('back')
? window.location.origin + $body.getAttribute('back').replace(/\/$/, '')
: null;
$body.removeAttribute('front');
$body.removeAttribute('back');
window.strapi = {
remoteURL: devFrontURL || remoteURL,
backendURL: devBackendURL || backendURL,
};
__webpack_public_path__ =
window.location.port === '4000'
? `${window.location.origin}/`
: `${strapi.remoteURL.replace(window.location.origin, '')}/`;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0052 ]-- |