From 39464f645aff809c20b06877f982cec290896ab9 Mon Sep 17 00:00:00 2001
From: Matthias Mair
Date: Thu, 27 Jul 2023 03:17:44 +0200
Subject: [PATCH] Add netlify for fast previews (#5353)
* Add netlify to readme
* add redirect for testing
* fix command
* add SPA redirect
* run desktop lighthouse tests
* add base dir
* remove base dir - use app redirect
* remove unneeded redirect
* remove status
* remove status
* static redirects
* remove toml redirect
* use toml again
* make redirect conditional
* add debug msg
* remove check section
---
README.md | 3 +++
src/frontend/netlify.toml | 19 +++++++++++++++++++
src/frontend/src/main.tsx | 5 +++++
3 files changed, 27 insertions(+)
create mode 100644 src/frontend/netlify.toml
diff --git a/README.md b/README.md
index db496e8c5d..cc58b7a638 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,7 @@
[](https://inventree.readthedocs.io/en/latest/?badge=latest)

[](https://bestpractices.coreinfrastructure.org/projects/7179)
+[](https://app.netlify.com/sites/inventree/deploys)
[](https://coveralls.io/github/inventree/InvenTree)
[](https://crowdin.com/project/inventree)
@@ -156,8 +157,10 @@ Find a full list of used third-party libraries in [our documentation](https://do
+