Skip to content

Commit

Permalink
somehow localhost doesn't work, but 127.0.0.1 or python does
Browse files Browse the repository at this point in the history
  • Loading branch information
JWS-aAI committed Nov 21, 2023
1 parent 3666c20 commit ffcb9ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nextjs/src/server/api/routers/mainRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import axios from "axios";
import qs from "qs";

const LOCAL_BACKEND_URI = "http://python:8002/v1/api/";
const BACKEND_URI = "http://localhost:8002/v1/api/";
const STREAM_BACKEND_URI = "http://localhost:8002/v1/stream_api/";
const BACKEND_URI = "http://python:8002/v1/api/";

export const mainRouter = createTRPCRouter({
get_project_directory: publicProcedure.query(async () => {
Expand Down

0 comments on commit ffcb9ca

Please sign in to comment.