Spaces:
Sleeping
Sleeping
Yann
commited on
Commit
·
c4c548c
1
Parent(s):
788f873
joe
Browse files- src/main/index.tsx +1 -1
- webpack.dev.js +1 -1
src/main/index.tsx
CHANGED
@@ -28,7 +28,7 @@ const style = `
|
|
28 |
left: 452px;
|
29 |
}
|
30 |
`
|
31 |
-
document.head.innerHTML += `<style>${style}</style>`
|
32 |
const container = document.createElement("div")
|
33 |
container.id = "app-container"
|
34 |
document.body.appendChild(container)
|
|
|
28 |
left: 452px;
|
29 |
}
|
30 |
`
|
31 |
+
//document.head.innerHTML += `<style>${style}</style>`
|
32 |
const container = document.createElement("div")
|
33 |
container.id = "app-container"
|
34 |
document.body.appendChild(container)
|
webpack.dev.js
CHANGED
@@ -8,7 +8,7 @@ module.exports = merge(common, {
|
|
8 |
mode: "development",
|
9 |
devtool: "inline-source-map",
|
10 |
devServer: {
|
11 |
-
allowedHosts: ['
|
12 |
port: 7860,
|
13 |
hot: "only",
|
14 |
static: {
|
|
|
8 |
mode: "development",
|
9 |
devtool: "inline-source-map",
|
10 |
devServer: {
|
11 |
+
allowedHosts: ['.hf.space', 'huggingface.co'],
|
12 |
port: 7860,
|
13 |
hot: "only",
|
14 |
static: {
|