Skip to content

Commit

Permalink
added process.env log
Browse files Browse the repository at this point in the history
  • Loading branch information
RotateAt60MPH committed Feb 16, 2024
1 parent 2023ae4 commit 47103ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shared/components/TextEditor/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class TextEditor extends React.Component {
} = this.props;

// handle case where tinymce is directly off the root
let url = '/tinymce/tinymce.min.js';
let url = '/tinymce/tinymce.js';
if (process.env.PUBLIC_URL != '/') {
url = `${process.env.PUBLIC_URL}/tinymce/tinymce.min.js`;
url = `${process.env.PUBLIC_URL}/tinymce/tinymce.js`;
}

return (
Expand Down

0 comments on commit 47103ee

Please sign in to comment.