https://supabase.com/ logo
I am having a problem with rpc function
# help
s
I am having a problem with rpc function
n
Hello @Sajeev! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
s
So, I am calling a rpc function from my front end and trying to extract the referer header from the request, but it is incorrect
instead of the referer saying "http://localhost:8100/signup"
here is my code for the function
BEGIN RETURN current_setting('request.header.referer', true)::json; END;
ok so I think this has to do with the referrer policy
how do i change referrer policy?
n
Thread was archived by @Sajeev. Anyone can send a message to unarchive it.