From 4d84cea1dbb2bd4011b200ce63466d137518cea4 Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Thu, 18 Aug 2022 23:01:07 +0300 Subject: [PATCH] netlify.toml --- netlify.toml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/netlify.toml b/netlify.toml index 298a983..86e0391 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,18 +1,3 @@ [build] command = "npm run build" - publish = "dist" - -[[redirects]] - from = "/*" - to = "/en/:splat" - - status = 301 - - # By default, redirects won’t be applied if there’s a file with the same - # path as the one defined in the `from` property. Setting `force` to `true` - # will make the redirect rule take precedence over any existing files. - force = true - - # Redirect based on conditions including browser language, geolocation, - # identity role, and/or cookie presence. - conditions = {Language = ["en"]} \ No newline at end of file + publish = "dist" \ No newline at end of file