a year 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?
3 Replies
a year ago
Please provide more details.
a year 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.
a year ago
do you know what I can do?
I used express but I still have the same problem
