We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ebe840 commit 2425073Copy full SHA for 2425073
srcs/api-gateway/server.js
@@ -9,9 +9,8 @@ dotenv.config();
9
const app = express();
10
const port = process.env.API_GATEWAY_PORT || 3000;
11
12
+app.use('/api/movies', proxyMiddleware(process.env.MOVIES_API_URL));
13
app.use(bodyParser.json());
-app.use('/api', proxyMiddleware(process.env.MOVIES_API_URL));
14
-
15
routes(app);
16
connectQueue(process.env.RABBITMQ_URL);
17
app.listen(port, () => {
0 commit comments