ソースを参照

Configuración hosting firebase

ElPoteito 11 ヶ月 前
コミット
129d46d309
共有4 個のファイルを変更した26 個の追加4 個の削除を含む
  1. 1 1
      .env.development.local
  2. 3 3
      .env.production.local
  3. 5 0
      .firebaserc
  4. 17 0
      firebase.json

+ 1 - 1
.env.development.local

@@ -3,7 +3,7 @@ VITE_PROJECT=jwt
 VITE_NOMBRE_PAGINA=
 VITE_API_URL=http://localhost:8080
 VITE_USR_URL=http://127.0.0.1:5173/
-VITE_API_VERSION=1.24.05.06+0
+sagarhpa.api.edesarrollos.info
 
 VITE_API_MODULE=/v1/
 VITE_API_MODULE_PDF=/pdf/

+ 3 - 3
.env.production.local

@@ -1,9 +1,9 @@
 # Projecto   firebase | jwt
 VITE_PROJECT=jwt
 VITE_NOMBRE_PAGINA=
-VITE_API_URL=http://localhost:8080
-VITE_USR_URL=http://127.0.0.1:5173/
-VITE_API_VERSION=1.24.05.06+0
+VITE_API_URL=httpa://sagarhpa.api.edesarrollos.info
+VITE_USR_URL=https://sagarhpa.web.app/
+VITE_API_VERSION=1.24.05.17+1
 
 VITE_API_MODULE=/v1/
 VITE_API_MODULE_PDF=/pdf/

+ 5 - 0
.firebaserc

@@ -0,0 +1,5 @@
+{
+  "projects": {
+    "default": "sagarhpa-sirgea"
+  }
+}

+ 17 - 0
firebase.json

@@ -0,0 +1,17 @@
+{
+  "hosting": {
+    "public": "dist",
+    "site": "sagarhpa",
+    "ignore": [
+      "firebase.json",
+      "**/.*",
+      "**/node_modules/**"
+    ],
+    "rewrites": [
+      {
+        "source": "**",
+        "destination": "/index.html"
+      }
+    ]
+  }
+}