Replies: 4 comments 3 replies
-
Any suggestion pls @RomainLanz |
Beta Was this translation helpful? Give feedback.
-
Hey @pk4all! 👋 Please, be more descriptive in your question. |
Beta Was this translation helpful? Give feedback.
-
You can access to your environment variables. |
Beta Was this translation helpful? Give feedback.
-
there is no direct approach to this , if you are have a multi-site system using same code base , you have to pass the request's host directly to your method when is called public profileUrl (host: string) {
const uid:any = this?.id
//return uid
var b = Buffer.from(''+uid)
var s = b.toString('base64')
return host+'/expert-profile/'+s
} and serialized it using serialize extras ( i'm not sure how it is in version 5 you may also consider using async local storage to access request's host ALS |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I need host name in model, how I get this? @thetutlage
Beta Was this translation helpful? Give feedback.
All reactions