Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sw scope for non wp-content Wordpress setups
* Some Wordpress setups (such as roots/bedrock) use "app" instead of "wp-content" as URL path. * Instead of assuming "wp-content" is present we always use the full path URL. - Created a getOneSignalPluginPath function to generate the path without the domain to provide this. * Tested with Both Standard Wordpress and presslabs/wordpress-runtime:bedrock to ensure it works end-to-end.
- Loading branch information