From 76aa101f96188ac812ef565e22900d64ab5dabd0 Mon Sep 17 00:00:00 2001 From: alihardan Date: Fri, 31 May 2024 01:52:22 +0330 Subject: [PATCH] update readme --- README.md | 2 +- config/sanctum.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 89623ee..6fa32f6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Deploy -1. apt-get install certbot -y && certbot certonly --standalone --agree-tos --register-unsafely-without-email -d backend.oldpersiangames.org && certbot renew --dry-run +1. apt-get install certbot -y && certbot certonly --standalone --agree-tos --register-unsafely-without-email --key-type rsa -d backend.oldpersiangames.org && certbot renew --dry-run 1. get docker-compose.yml and put in /opt/opgmanager-backend/docker-compose.yml (remove build at app and uncomment image at app) 1. copy .env file kenare docker-compose.yml, set mysql host to "db", and set user pass, add APP_KEY, also: SANCTUM_STATEFUL_DOMAINS=dash.oldpersiangames.org diff --git a/config/sanctum.php b/config/sanctum.php index 6b88183..b790586 100644 --- a/config/sanctum.php +++ b/config/sanctum.php @@ -17,7 +17,7 @@ 'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf( '%s%s%s', - 'localhost,localhost:9000,localhost:3000,127.0.0.1,127.0.0.1:8000,::1', + 'localhost,localhost:9000,localhost:5173,localhost:3000,127.0.0.1,127.0.0.1:8000,::1', Sanctum::currentApplicationUrlWithPort(), env('FRONTEND_URL') ? ',' . parse_url(env('FRONTEND_URL'), PHP_URL_HOST) : '' ))),