fix: configure frontend services for environment API URLs

This commit is contained in:
2026-08-17 12:27:14 +00:00
parent 09e6c86ca0
commit 3e12fa2d01
5 changed files with 20 additions and 11 deletions

View File

@@ -10,7 +10,7 @@ const options = {
},
servers: [
{
url: "http://localhost:5000",
url: process.env.API_PUBLIC_URL || "http://localhost:5000",
},
],
components: {
@@ -26,4 +26,4 @@ const options = {
apis: ["./src/routes/*.js"],
};
module.exports = swaggerJsdoc(options);
module.exports = swaggerJsdoc(options);