I make this custom header
kennedyduquempf
PROOP

9 months ago

I am making a universal link for an ios app, it is not working if I open it from the browser and I notice the following:

content-type: application/octet-stream

I need the header to be like this:

Content-Type: application/json

from railway can I make this custom header or should I make a mini backend?

$10 Bounty

3 Replies

aniket-lodh
FREE

9 months ago

Please provide more details.


lofimit
HOBBY

9 months ago

I'm pretty sure Railway’s static hosting doesn’t let you change that response header.

Railway itself doesn't provide a way to modify headers for static content unless you control the backend serving those files from what I just checked myself.

The easiest fix would be making a tiny backend as you said.


lofimit

I'm pretty sure Railway’s static hosting doesn’t let you change that response header.Railway itself doesn't provide a way to modify headers for static content unless you control the backend serving those files from what I just checked myself.The easiest fix would be making a tiny backend as you said.

kennedyduquempf
PROOP

9 months ago

do you know what I can do?

I used express but I still have the same problem


Loading...