Commit 66f10b3b authored by Raquel Cristina Schaly Behrens's avatar Raquel Cristina Schaly Behrens
Browse files

Update docker-compose.yml, backend/server.pl

parent dce601f4
Pipeline #13801 passed with stages
in 3 minutes and 34 seconds
Showing with 5 additions and 4 deletions
+5 -4
......@@ -27,7 +27,8 @@ handle_options(Request) :-
:- initialization main.
main :-
server(6358).
server(6358),
thread_get_message(_).
server(Port) :-
http_server(http_dispatch, [port(Port), allow_cors(true)]).
......@@ -155,4 +156,4 @@ extract_question_number(File, Number) :-
sub_string(File, Start, Length, _, 'questao_'),
AfterPrefix is Start + Length,
sub_string(File, AfterPrefix, _, 3, NumberString), % Extrai o número antes do '.pl'
atom_number(NumberString, Number). % Converte para número.
\ No newline at end of file
atom_number(NumberString, Number). % Converte para número.
......@@ -11,7 +11,7 @@ services:
volumes:
- ./backend:/app
environment:
VITE_FRONTEND_URL: "http://expertbee.ufsc.br"
VITE_FRONTEND_URL: "http://localhost:5173"
frontend:
build:
......@@ -25,7 +25,7 @@ services:
depends_on:
- backend
environment:
VITE_BACKEND_URL: "http://expertbee.ufsc.br"
VITE_BACKEND_URL: "http://localhost"
nginx:
build:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment