Skip to content

Commit

Permalink
Merge pull request #86 from RabotaRu/ex-render
Browse files Browse the repository at this point in the history
Добавлена возможность внешнего ренедеринга в плагине
  • Loading branch information
rpiontik authored Aug 26, 2022
2 parents 5a9df36 + cec3807 commit c302c55
Show file tree
Hide file tree
Showing 13 changed files with 39,164 additions and 30 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"node": true,
"jest": true
},
"ignorePatterns": ["**/public/libs/*.js"],
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ yarn-error.log*
*.sw?

# Lock files
package-lock.json*
# Вызвало сбой сборки докера
# пока вернем до прихода DevOps
# package-lock.json*
5 changes: 4 additions & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ if (process.env.VUE_APP_DOCHUB_MODE === 'plugin') {
}
}

config.pumlServer = process.env.VUE_APP_PLANTUML_SERVER || 'www.plantuml.com/plantuml/svg/';
config.pumlServer =
window.$PAPI?.settings?.render?.server
|| process.env.VUE_APP_PLANTUML_SERVER
|| 'www.plantuml.com/plantuml/svg/';

export default config;
Loading

0 comments on commit c302c55

Please sign in to comment.