Skip to content

Commit

Permalink
switched to using docker for backend uri
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdydh committed Nov 21, 2023
1 parent 352ab5b commit 3666c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextjs/src/server/api/routers/mainRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const STREAM_BACKEND_URI = "http://localhost:8002/v1/stream_api/";
export const mainRouter = createTRPCRouter({
get_project_directory: publicProcedure.query(async () => {
const { data } = await axios.get<Directory[]>(
BACKEND_URI + "get_project_directory",
LOCAL_BACKEND_URI + "get_project_directory",
);

// const { data } = await axios.get<Directory[]>(BACKEND_URI + "get_project_directory", {
Expand Down

0 comments on commit 3666c20

Please sign in to comment.