Extracting full url for metadata on server (page)
Unanswered
English Spot posted this in #help-forum
English SpotOP
I am trying like this, before it was hardcoded, i want to improve it, if i log te parent i can see the url at the symbol kResourceStore, pagePath/urlPathname. But i can't seem to find a way to extract it... Any tips?
2 Replies
English SpotOP
i tried with const urlPathname = parent[Symbol.for('kResourceStore')].urlPathname;
and still no success