Skip to content

Commit

Permalink
Fixed CDN config.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Jul 10, 2023
1 parent 9bc6a91 commit 3e8fa97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app.bundle

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions definitions/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ var config = db.config;
if (!config.name)
config.name = 'OpenFiles';

if (!config.cdn)
config.cdn = '//cdn.componentator.com';

// Fixed settings
CONF.allow_custom_titles = true;
CONF.version = '1';
Expand All @@ -23,6 +20,10 @@ CONF.op_path = '/setup/';
// Loads configuration
LOADCONFIG(db.config);


if (!CONF.cdn)
CONF.cdn = '//cdn.componentator.com';

// UI components
COMPONENTATOR('ui', 'exec,locale,aselected,page,viewbox,input,importer,box,cloudeditorsimple,validate,loading,intranetcss,notify,message,errorhandler,empty,menu,colorpicker,icons,miniform,clipboard,approve,columns,iframepreview,search,searchinput,fileuploader,formdata,filesaver,filereader,ready,datagrid,tangular-filesize', true);

Expand Down

0 comments on commit 3e8fa97

Please sign in to comment.