Hi @mbis,
Thank you for the quick reply. It works.
So the difference was in the file:
permalink-manager-helper-functions.php
the regex:
$sanitize_regex = apply_filters("permalink_manager_sanitize_regex", "/[^\p{Xan}\p{Thai}a-zA-Z0-9{$percent_sign}\/_\.|+, -]/ui", $percent_sign);
in this version you removed the \p{Thai} to become:
$sanitize_regex = apply_filters("permalink_manager_sanitize_regex", "/[^\p{Xan}a-zA-Z0-9{$percent_sign}\/_\.|+, -]/ui", $percent_sign);
Again, thank you for your time,
Dimitris
Hi,
It is common practice for nginx to directly handle urls ending with .js. According to @arunbasillal
In this version, the files are no longer physically generated, but are served dynamically. This is why the issue happens.
So you have to modify the nginx configuration in order for the superpwa-sw.js url to be handled by php – something like:
location = /superpwa-sw.js {
try_files $uri $uri/ /index.php?$args;
}