From 268214ec3c394b5aff701001666db5c359272eff Mon Sep 17 00:00:00 2001 From: shellyear Date: Thu, 16 May 2024 23:44:19 +0200 Subject: [PATCH] fix --- src/components/statistics/StatisticsMock.jsx | 2 +- vite.config.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/statistics/StatisticsMock.jsx b/src/components/statistics/StatisticsMock.jsx index 6b666399..ec5db2f6 100644 --- a/src/components/statistics/StatisticsMock.jsx +++ b/src/components/statistics/StatisticsMock.jsx @@ -1,5 +1,5 @@ import React from "react"; -import StatisticsHtml from "../../../deploy/shared/nginx/statistics.html"; +import StatisticsHtml from "../../../deploy/shared/nginx/statistics.html?raw"; const StatisticsMock = () => { return
; diff --git a/vite.config.js b/vite.config.js index f048f6f3..46e6d61c 100644 --- a/vite.config.js +++ b/vite.config.js @@ -16,7 +16,6 @@ export default defineConfig({ cache: false, }), ], - assetsInclude: ["**/*.html"], build: { sourcemap: true, emptyOutDir: true,