diff --git a/backend/agent/api.py b/backend/agent/api.py index e6c048e4..c42ff458 100644 --- a/backend/agent/api.py +++ b/backend/agent/api.py @@ -302,7 +302,7 @@ async def start_agent( # Get preview links vnc_link = sandbox.get_preview_link(6080) - website_link = sandbox.get_preview_link(8099) + website_link = sandbox.get_preview_link(8080) # Extract the actual URLs and token from the preview link objects vnc_url = vnc_link.url if hasattr(vnc_link, 'url') else str(vnc_link).split("url='")[1].split("'")[0] diff --git a/backend/poetry.lock b/backend/poetry.lock index 2aa4ee1d..16c6a6b6 100644 --- a/backend/poetry.lock +++ b/backend/poetry.lock @@ -2665,7 +2665,7 @@ files = [ {file = "rpds_py-0.24.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:493fe54318bed7d124ce272fc36adbf59d46729659b2c792e87c3b95649cdee9"}, {file = "rpds_py-0.24.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8aa362811ccdc1f8dadcc916c6d47e554169ab79559319ae9fae7d7752d0d60c"}, {file = "rpds_py-0.24.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d8f9a6e7fd5434817526815f09ea27f2746c4a51ee11bb3439065f5fc754db58"}, - {file = "rpds_py-0.24.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:8205ee14463248d3349131bb8099efe15cd3ce83b8ef3ace63c7e976998e7124"}, + {file = "rpds_py-0.24.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:8205ee14463248d3349131bb8080efe15cd3ce83b8ef3ace63c7e976998e7124"}, {file = "rpds_py-0.24.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:921ae54f9ecba3b6325df425cf72c074cd469dea843fb5743a26ca7fb2ccb149"}, {file = "rpds_py-0.24.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:32bab0a56eac685828e00cc2f5d1200c548f8bc11f2e44abf311d6b548ce2e45"}, {file = "rpds_py-0.24.0-cp39-cp39-win32.whl", hash = "sha256:f5c0ed12926dec1dfe7d645333ea59cf93f4d07750986a586f511c0bc61fe103"}, diff --git a/backend/sandbox/docker/Dockerfile b/backend/sandbox/docker/Dockerfile index 48c180af..79fe5b5d 100644 --- a/backend/sandbox/docker/Dockerfile +++ b/backend/sandbox/docker/Dockerfile @@ -123,6 +123,6 @@ ENV RESOLUTION_HEIGHT=1080 RUN mkdir -p /var/log/supervisor COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf -EXPOSE 7788 6080 5901 8000 8099 +EXPOSE 7788 6080 5901 8000 8080 CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"] diff --git a/backend/sandbox/docker/docker-compose.yml b/backend/sandbox/docker/docker-compose.yml index dbcf24d6..95fe3ac9 100644 --- a/backend/sandbox/docker/docker-compose.yml +++ b/backend/sandbox/docker/docker-compose.yml @@ -12,7 +12,7 @@ services: - "5901:5901" # VNC port - "9222:9222" # Chrome remote debugging port - "8000:8000" # API server port - - "8099:8099" # HTTP server port + - "8080:8080" # HTTP server port environment: - ANONYMIZED_TELEMETRY=${ANONYMIZED_TELEMETRY:-false} - CHROME_PATH=/usr/bin/google-chrome diff --git a/backend/sandbox/docker/server.py b/backend/sandbox/docker/server.py index 0239597e..defa5f0a 100644 --- a/backend/sandbox/docker/server.py +++ b/backend/sandbox/docker/server.py @@ -26,4 +26,4 @@ app.mount('/', StaticFiles(directory=workspace_dir, html=True), name='site') if __name__ == '__main__': print(f"Starting server with auto-reload, serving files from: {workspace_dir}") # Don't use reload directly in the run call - uvicorn.run("server:app", host="0.0.0.0", port=8099, reload=True) \ No newline at end of file + uvicorn.run("server:app", host="0.0.0.0", port=8080, reload=True) \ No newline at end of file diff --git a/backend/sandbox/sandbox.py b/backend/sandbox/sandbox.py index 3da86b40..6bc08fbe 100644 --- a/backend/sandbox/sandbox.py +++ b/backend/sandbox/sandbox.py @@ -116,7 +116,7 @@ def create_sandbox(password: str): 5900, # VNC port 5901, # VNC port 9222, # Chrome remote debugging port - 8099, # HTTP website port + 8080, # HTTP website port 8002, # The browser api port ] )) @@ -154,7 +154,7 @@ class SandboxToolsBase(Tool): # Get preview links vnc_link = self.sandbox.get_preview_link(6080) - website_link = self.sandbox.get_preview_link(8099) + website_link = self.sandbox.get_preview_link(8080) # Extract the actual URLs from the preview link objects vnc_url = vnc_link.url if hasattr(vnc_link, 'url') else str(vnc_link) diff --git a/frontend/src/components/home/icons.tsx b/frontend/src/components/home/icons.tsx index 1f79514d..52de977b 100644 --- a/frontend/src/components/home/icons.tsx +++ b/frontend/src/components/home/icons.tsx @@ -438,7 +438,7 @@ export const Icons = {