This commit is contained in:
Kakabay 2023-03-31 16:02:24 +05:00
parent 6dc004ba78
commit 2363948235
2 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,2 @@
<IfModule mod_rewrite.c>
RewriteEngine On RewriteBase /subdirectory RewriteRule ^index\.html$ - [L] RewriteCond
%{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule . /index.html [L]
</IfModule>
Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.html
[QSA,L]

View File

@ -46,7 +46,8 @@ export class Api {
}
});
} catch (error) {
throw new Error('Bad parameters', error);
// throw new Error('Bad parameters', error);
console.log();
}
}