Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shellyear committed May 16, 2024
1 parent 68c39b0 commit 268214e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/statistics/StatisticsMock.jsx
Original file line number Diff line number Diff line change
@@ -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 <div dangerouslySetInnerHTML={{ __html: StatisticsHtml }} />;
Expand Down
1 change: 0 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export default defineConfig({
cache: false,
}),
],
assetsInclude: ["**/*.html"],
build: {
sourcemap: true,
emptyOutDir: true,
Expand Down

0 comments on commit 268214e

Please sign in to comment.