Skip to content

Commit ad4323d

Browse files
committed
Merge branch '4.0' into 'main'
2 parents 58e928a + 6dc5bfd commit ad4323d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ server {
4141
}
4242

4343
# Additional configurations for specific file types
44-
location ~* \.(svg|eot|ttf|woff|woff2)$ {
44+
location ~* \.(svg|eot|ttf|woff|woff2|json)$ {
4545
add_header Access-Control-Allow-Origin "*";
4646
}
4747

phpmyfaq/assets/src/configuration/update.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ export const handleUpdateInformation = async (): Promise<void> => {
5959
if (error instanceof SyntaxError) {
6060
errorMessage =
6161
'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.';
6464
} else {
6565
errorMessage = error.message;
6666
}

0 commit comments

Comments
 (0)