diff --git a/src/pages/document.ejs b/src/pages/document.ejs
index 9af4adb5..d3e46f91 100644
--- a/src/pages/document.ejs
+++ b/src/pages/document.ejs
@@ -22,7 +22,7 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
/>
Ant Design Pro
-
+
@@ -36,7 +36,7 @@
padding: 0;
}
#root {
- background-image: url('/home_bg.png');
+ background-image: url('<%= context.config.publicPath +"home_bg.png"%>');
background-repeat: no-repeat;
background-size: 100% auto;
}
@@ -191,7 +191,7 @@
height: 100%;
"
>
-
+