Commit 7ee3e2bf authored by Grant's avatar Grant
Browse files

fix htaccess

parent a5590c5a
Loading
Loading
Loading
Loading
Loading
+0 −2
Changes for .gitlab-ci.yml: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@ include:
      ftp_pass: $DEPLOY_FTP_PASSWORD
      ftp_host: $FTP_HOST
      additional_arguments: -i .htaccess
      step_name: cool test step
      source_path: ./out/
    rules:
      - if: $CI_COMMIT_TAG
@@ -25,7 +24,6 @@ build:
  script:
    - yarn
    - yarn build
    - echo "ErrorDocument 404 /404.html" > out/.htaccess
  artifacts:
    untracked: false
    when: on_success

public/.htaccess

0 → 100644
+6 −0
Changes for public/.htaccess: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
ErrorDocument 404 /404.html

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
 No newline at end of file