Skip to content

Commit

Permalink
Merge pull request #265 from carverauto/update/backend_next_config
Browse files Browse the repository at this point in the history
removing hardcoded backend address
  • Loading branch information
mfreeman451 authored Feb 27, 2025
2 parents f3e0fa6 + c0f0026 commit d4b7bd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
reactStrictMode: true,
async rewrites() {
// const backendUrl = process.env.BACKEND_URL || 'http://localhost:8090';
const backendUrl = process.env.BACKEND_URL || 'http://172.233.208.210:8090';
const backendUrl = process.env.BACKEND_URL || 'http://localhost:8090';
return [
{
source: '/api/:path*',
Expand Down

0 comments on commit d4b7bd6

Please sign in to comment.