Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethosa committed Sep 3, 2024
1 parent fbedeb3 commit 8335183
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/happyx_native/app/app.nim
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@ import
when enableApiDoc:
import happyx/tmpl_engine/engine
export engine
else:
template getScriptDir*(): string =
## Helper for staticRead.
##
## returns the absolute path to your project, on compile time.
instantiationInfo(-1, true).filename.parentDir()


include happyx/ssr/utils
import happyx/ssr/utils as hpx_ssr_utils
export hpx_ssr_utils


when defined(webview):
Expand Down

0 comments on commit 8335183

Please sign in to comment.