This commit is contained in:
mmacierzanka committed 2021-10-04 16:48:29 +02:00
commit 302ba9faa8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
const express = require("express");
const cors = require("cors");
const app = express();
const port = process.env.PORT || 3000;
const port = process.env.PORT || 5000;
const { MONGO_URI } = require("./config");
const mongoose = require("mongoose");
const events = require("./models/events");
+1 -1
View File
@@ -1,6 +1,6 @@
import { createContext } from "react";
import { APIClient } from "./utils/APIClient";
export const BACKEND_URL = "http://localhost:3000";
export const BACKEND_URL = "http://localhost:5000";
export const EVENT_CONTEXT = createContext();
export const API_CLIENT = new APIClient(BACKEND_URL);