p0zi
p0zi
Do not import statically in module header, instead dynamically in useEffect() which always run in client. ``` const isotope = React.useRef(null); React.useEffect(() => { (async () => { // Dynamically...
@karoun Can you please provide a recipe how can i sscape with forward slashes?
> > @karoun Can you please provide a recipe how can i sscape with forward slashes? > > @p0zi not for Next, unfortunately. The workaround implemented was for a different...
So far i added rel="nofollow" and will observe how Google crawler will behave. `{"props": ... }`
@d-vorobyov At the moment solution is dirty i modified module source code in file: node_modules/next/dist/pages/_document.js in render() this is valid for Next.js v12 ` render() { const { assetPrefix ,...
Unfortunately it did not help. But i am considering another aproach: 1) Backend side: a) Data source with obfuscated link that will feed overwritten "next/link" component. Since i am using...
To prevent unicode issues, while encoding string to base64, you can use first encodeURIComponent() and then decode using decodeURIComponent(): // Encoding const encodedString = encodeURIComponent(string); const base64 = Buffer.from(encodedString).toString("base64"); return...
This adds to JSON:API response computed field "content_translations" also to taxonomy term entities. This helps in frontends while language switching to have contextual translations links for other languages. Please see...
Try configuring on Drupal in settings.php reverse proxy, for ex.: ` $settings['reverse_proxy'] = TRUE; $settings['reverse_proxy_addresses'] = ['172.16.0.1']; // Depending on network configuration $settings['reverse_proxy_trusted_headers'] = \Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_FOR | \Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_HOST | \Symfony\Component\HttpFoundation\Request::HEADER_X_FORWARDED_PORT |...
I think you need to grant proper permission in Drupal backend to user role that access token belongs to. Be carefull this might have security implications when used wrong. ![Screenshot...