@@ -4,76 +4,76 @@ const nextConfig = {
44 output : 'standalone' ,
55 async rewrites ( ) {
66 return [
7- {
8- source : '/booking/:path*' ,
9- destination : `http://rbp-booking:3000/booking/:path*` ,
7+ {
8+ source : '/api/ booking/actuator /:path*' ,
9+ destination : `http://rbp-booking:3000/booking/actuator/ :path*` ,
1010 } ,
1111 {
12- source : '/room/:path*' ,
13- destination : `http://rbp-room:3001/room/:path*` ,
12+ source : '/api/ room/actuator /:path*' ,
13+ destination : `http://rbp-room:3001/room/actuator/ :path*` ,
1414 } ,
1515 {
16- source : '/brand /:path*' ,
17- destination : `http://rbp-branding:3002/brand /:path*` ,
16+ source : '/api/branding/actuator /:path*' ,
17+ destination : `http://rbp-branding:3002/branding/actuator /:path*` ,
1818 } ,
1919 {
20- source : '/auth/:path*' ,
21- destination : `http://rbp-auth:3004/auth/:path*` ,
20+ source : '/api/ auth/actuator /:path*' ,
21+ destination : `http://rbp-auth:3004/auth/actuator/ :path*` ,
2222 } ,
2323 {
24- source : '/report/:path*' ,
25- destination : `http://rbp-report:3005/report/:path*` ,
24+ source : '/api/ report/actuator /:path*' ,
25+ destination : `http://rbp-report:3005/report/actuator/ :path*` ,
2626 } ,
2727 {
28- source : '/message/:path*' ,
29- destination : `http://rbp-message:3006/message/:path*` ,
28+ source : '/api/ message/actuator /:path*' ,
29+ destination : `http://rbp-message:3006/message/actuator/ :path*` ,
3030 } ,
3131 {
32- source : '/booking/swagger-ui/:path*' ,
32+ source : '/api/ booking/swagger-ui/:path*' ,
3333 destination : `http://rbp-booking:3000/booking/swagger-ui/:path*` ,
3434 } ,
3535 {
36- source : '/booking/v3/:path*' ,
36+ source : '/api/ booking/v3/:path*' ,
3737 destination : `http://rbp-booking:3000/booking/v3/:path*` ,
3838 } ,
3939 {
40- source : '/room/swagger-ui/:path*' ,
40+ source : '/api/ room/swagger-ui/:path*' ,
4141 destination : `http://rbp-room:3001/room/swagger-ui/:path*` ,
4242 } ,
4343 {
44- source : '/room/v3/:path*' ,
44+ source : '/api/ room/v3/:path*' ,
4545 destination : `http://rbp-room:3001/room/v3/:path*` ,
4646 } ,
4747 {
48- source : '/brand /swagger-ui/:path*' ,
49- destination : `http://rbp-branding:3002/brand /swagger-ui/:path*` ,
48+ source : '/api/branding /swagger-ui/:path*' ,
49+ destination : `http://rbp-branding:3002/branding /swagger-ui/:path*` ,
5050 } ,
5151 {
52- source : '/brand /v3/:path*' ,
53- destination : `http://rbp-brand :3002/brand /v3/:path*` ,
52+ source : '/api/branding /v3/:path*' ,
53+ destination : `http://rbp-branding :3002/branding /v3/:path*` ,
5454 } ,
5555 {
56- source : '/auth/swagger-ui/:path*' ,
56+ source : '/api/ auth/swagger-ui/:path*' ,
5757 destination : `http://rbp-auth:3004/auth/swagger-ui/:path*` ,
5858 } ,
5959 {
60- source : '/auth/v3/:path*' ,
60+ source : '/api/ auth/v3/:path*' ,
6161 destination : `http://rbp-auth:3004/auth/v3/:path*` ,
6262 } ,
6363 {
64- source : '/report/swagger-ui/:path*' ,
64+ source : '/api/ report/swagger-ui/:path*' ,
6565 destination : `http://rbp-report:3005/report/swagger-ui/:path*` ,
6666 } ,
6767 {
68- source : '/report/v3/:path*' ,
68+ source : '/api/ report/v3/:path*' ,
6969 destination : `http://rbp-report:3005/report/v3/:path*` ,
7070 } ,
7171 {
72- source : '/message/swagger-ui/:path*' ,
72+ source : '/api/ message/swagger-ui/:path*' ,
7373 destination : `http://rbp-message:3006/message/swagger-ui/:path*` ,
7474 } ,
7575 {
76- source : '/message/v3/:path*' ,
76+ source : '/api/ message/v3/:path*' ,
7777 destination : `http://rbp-message:3006/message/v3/:path*` ,
7878 }
7979 ] ;
0 commit comments