Archived
Merge branch 'master' of https://github.com/makoteq/eco-hack
This commit is contained in:
commit
302ba9faa8
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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);
|
||||
Reference in new issue
Block a user