File tree 2 files changed +3
-3
lines changed
phpmyfaq/assets/src/configuration
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ server {
41
41
}
42
42
43
43
# Additional configurations for specific file types
44
- location ~* \.(svg|eot|ttf|woff|woff2)$ {
44
+ location ~* \.(svg|eot|ttf|woff|woff2|json )$ {
45
45
add_header Access-Control-Allow-Origin "*" ;
46
46
}
47
47
Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ export const handleUpdateInformation = async (): Promise<void> => {
59
59
if ( error instanceof SyntaxError ) {
60
60
errorMessage =
61
61
'The requested resource was not found on the server. ' +
62
- " Please check your server configuration, in case you're using Apache, " +
63
- 'the RewriteBase in your .htaccess configuration.' ;
62
+ ' Please check your server configuration, if you use Apache, the RewriteBase in your .htaccess ' +
63
+ 'configuration. If you use nginx, please check your nginx rewrite configuration.' ;
64
64
} else {
65
65
errorMessage = error . message ;
66
66
}
You can’t perform that action at this time.
0 commit comments