diff --git a/public/.htaccess b/public/.htaccess index 1d70e01..053377d 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -1,5 +1,2 @@ - - RewriteEngine On RewriteBase /subdirectory RewriteRule ^index\.html$ - [L] RewriteCond - %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l - RewriteRule . /index.html [L] - +Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.html +[QSA,L] diff --git a/src/helpers/api.js b/src/helpers/api.js index d009a5a..335bcb8 100644 --- a/src/helpers/api.js +++ b/src/helpers/api.js @@ -46,7 +46,8 @@ export class Api { } }); } catch (error) { - throw new Error('Bad parameters', error); + // throw new Error('Bad parameters', error); + console.log(); } }