Skip to content

Commit

Permalink
Merge pull request #286 from skadefro/master
Browse files Browse the repository at this point in the history
fixes
  • Loading branch information
skadefro authored Nov 25, 2023
2 parents 40f9304 + 02ef0e6 commit eb9058a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
6 changes: 3 additions & 3 deletions OpenFlow/src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class dbConfig extends Base {
this._type = "config";
this.name = "Base configuration";
this.version = "0.0.1";
this._encrypt = ["mongodb_url", "stripe_api_secret", "smtp_url", "amqp_password", "cache_store_redis_password", "cookie_secret", "singing_key", "wapid_key"];
this._encrypt = ["mongodb_url", "amqp_url", "stripe_api_secret", "smtp_url", "amqp_password", "cache_store_redis_password", "cookie_secret", "singing_key", "wapid_key"];
}
public version: string;
public needsupdate: boolean;
Expand Down Expand Up @@ -157,7 +157,7 @@ export class dbConfig extends Base {
Logger.instanse.error("Error setting config " + keys + " to " + value, null);
}
}
conf._encrypt = ["mongodb_url", "stripe_api_secret", "smtp_url", "amqp_password", "cache_store_redis_password", "cookie_secret", "singing_key", "wapid_key"];
conf._encrypt = ["mongodb_url", "amqp_url", "stripe_api_secret", "smtp_url", "amqp_password", "cache_store_redis_password", "cookie_secret", "singing_key", "wapid_key"];
if(Config._version != conf._version) {
Config._version = conf._version;
Logger.instanse.info("Loaded config version " + conf._version, parent);
Expand Down Expand Up @@ -341,7 +341,7 @@ export class Config {
websocket_message_callback_timeout: 3600,
websocket_disconnect_out_of_sync: false,
protocol: "http",
port: 80,
port: 3000,
domain: "localhost.openiap.io",
cookie_secret: "NLgUIsozJaxO38ze0WuHthfj2eb1eIEu",
max_ace_count: 128,
Expand Down
4 changes: 2 additions & 2 deletions OpenFlow/src/public/Controllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7452,8 +7452,8 @@ export class ConfigCtrl extends entityCtrl<RPAWorkflow> {
{"name": "websocket_message_callback_timeout", "type": "number", "default": "3600"},
{"name": "websocket_disconnect_out_of_sync", "type": "boolean", "default": "false"},
{"name": "protocol", "type": "string", "default": "http"},
{"name": "port", "type": "number", "default": "80"},
{"name": "domain", "type": "string", "default": "localhost"},
{"name": "port", "type": "number", "default": "3000"},
{"name": "domain", "type": "string", "default": "localhost.openiap.io"},
{"name": "cookie_secret", "type": "string", "default": "NLgUIsozJaxO38ze0WuHthfj2eb1eIEu"},
{"name": "max_ace_count", "type": "number", "default": "128"},

Expand Down
6 changes: 0 additions & 6 deletions OpenFlow/src/public/Main.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
text-overflow: ellipsis;
} */
</style>
<div class="row">
<h1 translate lib="web">sitename</h1>
<p class="col-md-5 lead"></p>
</div>
</div>


<div class="text-right table">
<input type="checkbox" id="checkbox-1" ng-model="ctrl.showcompleted" ng-change="ctrl.Search()">
Expand Down

0 comments on commit eb9058a

Please sign in to comment.