Skip to content

Commit

Permalink
fix: check for built doorlock ui
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Dec 30, 2023
1 parent 56a529c commit 82007d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if not LoadResourceFile(lib.name, 'web/build/index.html') then
if not LoadResourceFile(cache.resource, 'web/build/index.html') then
error('Unable to load UI. Build ox_doorlock or download the latest release.\n ^3https://github.com/overextended/ox_doorlock/releases/latest/download/ox_doorlock.zip^0')
end

Expand Down
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if not LoadResourceFile(lib.name, 'web/build/index.html') then
if not LoadResourceFile(cache.resource, 'web/build/index.html') then
error('Unable to load UI. Build ox_doorlock or download the latest release.\n ^3https://github.com/overextended/ox_doorlock/releases/latest/download/ox_doorlock.zip^0')
end

Expand Down

0 comments on commit 82007d5

Please sign in to comment.