Prettier format pending files

This commit is contained in:
Builder.io 2025-08-06 03:38:55 +00:00
parent f861dcc3df
commit f16e8909cb

View file

@ -24,6 +24,7 @@ VITE_SUPABASE_ANON_KEY=your-anon-key-here
``` ```
Then rebuild with production environment: Then rebuild with production environment:
```bash ```bash
npm run build:client npm run build:client
``` ```
@ -31,6 +32,7 @@ npm run build:client
## **Step 3: Upload to Hostinger** ## **Step 3: Upload to Hostinger**
1. **Access Hostinger File Manager:** 1. **Access Hostinger File Manager:**
- Login to your Hostinger control panel - Login to your Hostinger control panel
- Go to "File Manager" - Go to "File Manager"
- Navigate to `public_html` folder - Navigate to `public_html` folder
@ -52,6 +54,7 @@ npm run build:client
## **Step 4: Configure DNS for core.aethex.biz** ## **Step 4: Configure DNS for core.aethex.biz**
### Option A: Use Hostinger DNS (Recommended) ### Option A: Use Hostinger DNS (Recommended)
1. In Hostinger control panel, go to DNS Zone Editor 1. In Hostinger control panel, go to DNS Zone Editor
2. Update/Add these records: 2. Update/Add these records:
``` ```
@ -62,6 +65,7 @@ npm run build:client
``` ```
### Option B: Update at Domain Registrar ### Option B: Update at Domain Registrar
1. Go to your domain registrar (where you bought aethex.biz) 1. Go to your domain registrar (where you bought aethex.biz)
2. Update DNS to point `core.aethex.biz` to your Hostinger hosting 2. Update DNS to point `core.aethex.biz` to your Hostinger hosting
@ -115,10 +119,13 @@ RewriteRule . /index.html [L]
Your current Netlify functions won't work on Hostinger. You have two options: Your current Netlify functions won't work on Hostinger. You have two options:
### Option A: Remove Server Functions (Simplest) ### Option A: Remove Server Functions (Simplest)
Since you're using Supabase, you may not need the Express server. Simply remove server-side code. Since you're using Supabase, you may not need the Express server. Simply remove server-side code.
### Option B: Use Hostinger Node.js Hosting ### Option B: Use Hostinger Node.js Hosting
If you need server functions: If you need server functions:
1. Upgrade to Hostinger plan that supports Node.js 1. Upgrade to Hostinger plan that supports Node.js
2. Deploy your Express server separately 2. Deploy your Express server separately
3. Update API endpoints in your React app 3. Update API endpoints in your React app
@ -136,7 +143,7 @@ If you need server functions:
**Solution:** Use Supabase Edge Functions or upgrade to Node.js hosting **Solution:** Use Supabase Edge Functions or upgrade to Node.js hosting
**Issue:** Environment variables not loading **Issue:** Environment variables not loading
**Solution:** Ensure VITE_ prefix and rebuild application **Solution:** Ensure VITE\_ prefix and rebuild application
**Issue:** 404 errors on routes **Issue:** 404 errors on routes
**Solution:** Ensure .htaccess file is uploaded and configured **Solution:** Ensure .htaccess file is uploaded and configured
@ -144,6 +151,7 @@ If you need server functions:
## **Rollback Plan:** ## **Rollback Plan:**
If issues occur, you can quickly revert: If issues occur, you can quickly revert:
1. Update DNS back to Netlify 1. Update DNS back to Netlify
2. Your Netlify deployment remains active 2. Your Netlify deployment remains active
3. Switch takes 5-15 minutes 3. Switch takes 5-15 minutes