Skip to content

Commit 27688c7

Browse files
committed
🐛 Fix production build
Embarrassing copy and paste error there
1 parent b292a65 commit 27688c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

octoprint_onedrive_files/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def send_message(self, msg_type: str, msg_content: dict):
113113
def get_assets(self):
114114
assets = {
115115
"js": [
116-
"dist/onedrive_backup.js",
116+
"dist/onedrive_files.js",
117117
"viewmodels/settings.js",
118118
"viewmodels/navbar.js",
119119
]

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"start": "npm run esbuild-dev",
77
"release": "esbuild ./octoprint_onedrive_files/static/src/onedrive.tsx --loader:.js=jsx --bundle --minify --sourcemap --target=\"chrome92,edge96,firefox94,ios12.2,safari13.1\" --outfile=./octoprint_onedrive_files/static/dist/onedrive_files.js",
8-
"esbuild-dev": "esbuild ./octoprint_onedrive_files/static/src/onedrive.tsx --loader:.js=jsx --bundle --watch --target=\"chrome96,firefox95,safari15.2\" --outfile=./octoprint_onedrive_files/static/dist/onedrive_backup.js"
8+
"esbuild-dev": "esbuild ./octoprint_onedrive_files/static/src/onedrive.tsx --loader:.js=jsx --bundle --watch --target=\"chrome96,firefox95,safari15.2\" --outfile=./octoprint_onedrive_files/static/dist/onedrive_files.js"
99
},
1010
"repository": {
1111
"type": "git",

0 commit comments

Comments
 (0)