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

Fixes relative path issues in loading monaco editor #5066

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

donker
Copy link
Contributor

@donker donker commented Mar 29, 2022

This has bugged me for a while. But on some of my sites I was unable to use the SQL Console. This is because the scripts are downloaded using an absolute path from the root of the domain. For virtual roots, this will mean those scripts do not load and the module will break. This PR fixes aims to fix that.

Copy link
Contributor

@bdukes bdukes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've verified that both editors load as expected when running in a subfolder

@mitchelsellers mitchelsellers merged commit 137da52 into dnnsoftware:develop Mar 29, 2022
Copy link
Contributor

@david-poindexter david-poindexter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch @donker

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

Successfully merging this pull request may close these issues.

5 participants