DEOGEE
DEOGEE
Explore posts from servers
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
Thank you
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
Noted.
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
Thank you . Could you also please add my email into your internal issue , just in case i'm not available here
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
How can we track the progress of this fix , is there a thread or something with updates about this issue
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
Yes i enabled app sleeping . I figured that might be the case.
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
I refreshed the page and it works now. It keeps fluctuating between working and not working . is it the sleep thats causing the cors error ?
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
and now it stopped working again with the same cors error
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
I added the code above in my server and it worked
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
const allowedOrigins = ['https://www.shortsauto.ai', 'http://localhost:3000']; const corsOptions = { origin: (origin, callback) => { // Allow requests with no origin (like mobile apps or curl requests) if (!origin) return callback(null, true);
if (allowedOrigins.includes(origin)) { callback(null, true); // Origin is allowed } else { callback(new Error('Not allowed by CORS')); // Origin is not allowed } }, methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], // Allow specific methods allowedHeaders: ['Content-Type', 'Authorization'], // Specify allowed headers credentials: true, // Include credentials (optional) optionsSuccessStatus: 204, // For legacy browser support }; // Enable CORS with the specified options app.use(cors(corsOptions)); // Handle preflight requests explicitly app.options('*', cors(corsOptions));
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
No description
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
No description
22 replies
RRailway
Created by DEOGEE on 9/25/2024 in #✋|help
Cors issues only on railway
N/A
22 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
ffmpeg: not found error
Thank you soo much @Brody
13 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
ffmpeg: not found error
Its working now!
13 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
ffmpeg: not found error
i'm working on that now . give me a moment
13 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
ffmpeg: not found error
Or i can add the file from the railway dashboard?
13 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
ffmpeg: not found error
I should do it locally and push to github ?
13 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
ffmpeg: not found error
How do i add a file to the project
13 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
ffmpeg: not found error
1f254ed
13 replies
RRailway
Created by DEOGEE on 9/24/2024 in #✋|help
Skeptical about $5 a month subscription
Got it! I'll test both. Thank you soo much
29 replies