Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

favicon.ico returning 500 in PackageCompiler.jl compiled app #156

Open
etpinard opened this issue Dec 15, 2021 · 1 comment
Open

favicon.ico returning 500 in PackageCompiler.jl compiled app #156

etpinard opened this issue Dec 15, 2021 · 1 comment

Comments

@etpinard
Copy link
Collaborator

We've been playing with Dash.jl + PackageCompiler.jl recently and things are working pretty well!

Thanks very much for the efforts that went into #131

One small problem we've encountered has been with the favicon. Currently we get

image

in the frontend and

image

on the backend.

I suspect this has to do with the hardcoded path in

joinpath(ROOT_PATH, "src", "favicon.ico")

which isn't relocatable in PackageCompiler.jl compiled apps.


I'd be willing to submit a PR (or PRs) to fix the problem. I suspect the "best" solution would be to move the favicon in the DashCoreResources repo and replace joinpath(ROOT_PATH, ...) with the corresponding artifact"" statement.

Looking forward to hearing what you have to say here.


Moreover, let me know if you need a reproducible example. I didn't provide one initial as I thought the error logs were enough to pinpoint the bug.

Related #108

cc @Felix-Gauthier

@waralex
Copy link
Collaborator

waralex commented Dec 16, 2021

Hi!
Yeah, I hadn't thought of that. I'll try to get to the beginning of the trail. weeks to update the resource generator and move favicon to Core Resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants