diff --git a/Back-End/__version__.py b/Back-End/__version__.py index f102a9c..3b93d0b 100644 --- a/Back-End/__version__.py +++ b/Back-End/__version__.py @@ -1 +1 @@ -__version__ = "0.0.1" +__version__ = "0.0.2" diff --git a/Front-End/next.config.mjs b/Front-End/next.config.mjs index cc678bb..01cf87a 100644 --- a/Front-End/next.config.mjs +++ b/Front-End/next.config.mjs @@ -5,9 +5,6 @@ const pkg = require('./package.json'); const withNextIntl = createNextIntlPlugin(); -const apiUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080'; -const apiUrlObj = new URL(apiUrl); - /** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', @@ -22,9 +19,17 @@ const nextConfig = { hostname: 'www.gravatar.com', }, { - protocol: apiUrlObj.protocol.replace(':', ''), - hostname: apiUrlObj.hostname, - ...(apiUrlObj.port ? { port: apiUrlObj.port } : {}), + protocol: 'https', + hostname: 'api.demo.n3wtschool.com', + }, + { + protocol: 'https', + hostname: 'api.prod.n3wtschool.com', + }, + { + protocol: 'http', + hostname: 'localhost', + port: '8080', }, ], }, diff --git a/Front-End/package.json b/Front-End/package.json index 537c959..a98022e 100644 --- a/Front-End/package.json +++ b/Front-End/package.json @@ -1,6 +1,6 @@ { "name": "n3wt-school-front-end", - "version": "0.0.1", + "version": "0.0.2", "private": true, "scripts": { "dev": "next dev",