fix invalid port
This commit is contained in:
parent
0ffd513a2f
commit
83d9019385
|
@ -2,7 +2,7 @@ APP_DEBUG=false
|
|||
APP_PORT=80
|
||||
|
||||
DB_HOST=db
|
||||
DB_PORT=3306a
|
||||
DB_PORT=3306
|
||||
DB_PASSWORD=
|
||||
DB_DATABASE=pairent
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ http {
|
|||
server {
|
||||
listen 80;
|
||||
|
||||
location ~ ^/(api|admin|index.html|/)$ {
|
||||
location ~ ^/(api|admin)/ {
|
||||
proxy_pass http://back;
|
||||
}
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ const api_path = path => API_ROOT + path;
|
|||
* Api root path
|
||||
* @type {string}
|
||||
*/
|
||||
const API_ROOT = window.location.protocol + '//127.0.0.1:8000';
|
||||
// ДЛЯ ПРОДА ПОСТАВИТЬ ЭТО: '//pairent.vvsu.ru'
|
||||
const API_ROOT = window.location.protocol + '//' + window.location.host;
|
||||
// ДЛЯ ПРОДА ПОСТАВИТЬ ЭТО: '//' + window.location.host
|
||||
|
||||
/** OpenID Connect Client Config
|
||||
* @type {import('oidc-client-ts').OidcClientSettings}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<script type="module" crossorigin src="/assets/index-dc786e36.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-22e3f5a9.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-b130f2c5.css">
|
||||
</head>
|
||||
<body>
|
||||
|
|
Loading…
Reference in New Issue