fix: configure frontend services for environment API URLs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user