Gustavo Mantovani hai 2 meses
pai
achega
87e8054b7e
Modificáronse 5 ficheiros con 25 adicións e 2 borrados
  1. 1 1
      app/components/ProgramCard.vue
  2. 1 1
      nuxt.config.ts
  3. 20 0
      package-lock.json
  4. 3 0
      package.json
  5. BIN=BIN
      public/favicon.ico

+ 1 - 1
app/components/ProgramCard.vue

@@ -49,7 +49,7 @@ const {program} = defineProps({
 });
 
 const config = useRuntimeConfig();
-const quasarAppUrl = config.public.url + '/register/' + program.id;
+const quasarAppUrl = config.public.studentPlatform + '/register/' + program.id;
 
 const goToRegisterPage = () => {
   window.open(quasarAppUrl, '_blank');

+ 1 - 1
nuxt.config.ts

@@ -16,7 +16,7 @@ export default defineNuxtConfig({
   },
   runtimeConfig: {
     public: {
-      url: 'http://localhost:9000'
+      studentPlatform: process.env.STUDENT_PLATFORM_URL || 'http://localhost:9000'
     }
   }
 })

+ 20 - 0
package-lock.json

@@ -17,6 +17,9 @@
         "typescript": "^5.9.2",
         "vue": "^3.5.21",
         "vue-router": "^4.5.1"
+      },
+      "devDependencies": {
+        "@types/node": "^24.6.0"
       }
     },
     "node_modules/@ai-sdk/gateway": {
@@ -4275,6 +4278,16 @@
       "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
       "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="
     },
+    "node_modules/@types/node": {
+      "version": "24.6.0",
+      "resolved": "https://registry.npmjs.org/@types/node/-/node-24.6.0.tgz",
+      "integrity": "sha512-F1CBxgqwOMc4GKJ7eY22hWhBVQuMYTtqI8L0FcszYcpYX0fzfDGpez22Xau8Mgm7O9fI+zA/TYIdq3tGWfweBA==",
+      "devOptional": true,
+      "license": "MIT",
+      "dependencies": {
+        "undici-types": "~7.13.0"
+      }
+    },
     "node_modules/@types/parse-path": {
       "version": "7.1.0",
       "resolved": "https://registry.npmjs.org/@types/parse-path/-/parse-path-7.1.0.tgz",
@@ -12220,6 +12233,13 @@
         "unplugin": "^2.1.0"
       }
     },
+    "node_modules/undici-types": {
+      "version": "7.13.0",
+      "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.13.0.tgz",
+      "integrity": "sha512-Ov2Rr9Sx+fRgagJ5AX0qvItZG/JKKoBRAVITs1zk7IqZGTJUwgUr7qoYBpWwakpWilTZFM98rG/AFRocu10iIQ==",
+      "devOptional": true,
+      "license": "MIT"
+    },
     "node_modules/unenv": {
       "version": "2.0.0-rc.21",
       "resolved": "https://registry.npmjs.org/unenv/-/unenv-2.0.0-rc.21.tgz",

+ 3 - 0
package.json

@@ -20,5 +20,8 @@
     "typescript": "^5.9.2",
     "vue": "^3.5.21",
     "vue-router": "^4.5.1"
+  },
+  "devDependencies": {
+    "@types/node": "^24.6.0"
   }
 }

BIN=BIN
public/favicon.ico