Server Configured

This commit is contained in:
RIT Services
2026-08-03 12:28:42 +00:00
parent 9f419a2503
commit fafb8d5bce
19 changed files with 93 additions and 131 deletions

View File

@@ -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);

View File

@@ -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'];