Skip to content

Commit

Permalink
chore: update /sheet entry
Browse files Browse the repository at this point in the history
  • Loading branch information
hexf00 committed Oct 18, 2024
1 parent 604dc3f commit 913590d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/server/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ createSiteStatic()

app.use(express.static(resolve(__dirname, './site-static')))

app.use('/sheet', express.static(resolve(__dirname, './site-static')))

proxy.on('error', (error, req, res) => {
console.error('proxy error:', error)
if (!res.headersSent) {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
<div id="univer"></div>
</div>

<script type="module" src="/src/main.ts"></script>
<script type="module" src="./src/main.ts"></script>
</body>
</html>
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default defineConfig({
define: {
'process.env.UNIVER_CLIENT_LICENSE': '"%%UNIVER_CLIENT_LICENSE_PLACEHOLDER%%"',
},
base: './',
build: {
rollupOptions: {
output: {
Expand Down

0 comments on commit 913590d

Please sign in to comment.