Server Configured
This commit is contained in:
@@ -17,7 +17,7 @@ interface AuthContextType {
|
||||
|
||||
const AuthContext = createContext<AuthContextType | undefined>(undefined);
|
||||
|
||||
const API_BASE_URL = `http://${window.location.hostname}:8080/api/auth`;
|
||||
const API_BASE_URL = 'https://cmsapi.rit-services.in/api/auth';
|
||||
|
||||
export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ children }) => {
|
||||
const [user, setUser] = useState<User | null>(null);
|
||||
|
||||
@@ -12,7 +12,7 @@ interface FoodContextType {
|
||||
|
||||
const FoodContext = createContext<FoodContextType | undefined>(undefined);
|
||||
|
||||
const API_BASE_URL = `http://${window.location.hostname}:8080/api`;
|
||||
const API_BASE_URL = 'https://cmsapi.rit-services.in/api';
|
||||
|
||||
const EMOJIS = ['🍦', '🍪', '🧃', '🍫', '🥨', '🥐', '🍹', '📦', '🍳', '🍱', '🍔', '🍕', '🥗', '🍲'];
|
||||
const COLORS = ['#FFF0F6', '#FFF7ED', '#FFFFEB', '#FDF3EF', '#F0FDF4', '#FEFCE8', '#EFF6FF'];
|
||||
|
||||
Reference in New Issue
Block a user