local debug settings
This commit is contained in:
parent
e9a7e03ebf
commit
51b854db75
@ -38,7 +38,7 @@
|
|||||||
<value>https://www.textbausteine.net/</value>
|
<value>https://www.textbausteine.net/</value>
|
||||||
</setting>
|
</setting>
|
||||||
<setting name="API_URL" serializeAs="String">
|
<setting name="API_URL" serializeAs="String">
|
||||||
<value>https://brecaltest.bsmd-emswe.eu</value>
|
<value>http://127.0.0.1:5000</value>
|
||||||
</setting>
|
</setting>
|
||||||
</BreCalClient.Properties.Settings>
|
</BreCalClient.Properties.Settings>
|
||||||
</applicationSettings>
|
</applicationSettings>
|
||||||
|
|||||||
2
src/BreCalClient/Properties/Settings.Designer.cs
generated
2
src/BreCalClient/Properties/Settings.Designer.cs
generated
@ -64,7 +64,7 @@ namespace BreCalClient.Properties {
|
|||||||
|
|
||||||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("https://brecaltest.bsmd-emswe.eu")]
|
[global::System.Configuration.DefaultSettingValueAttribute("http://127.0.0.1:5000")]
|
||||||
public string API_URL {
|
public string API_URL {
|
||||||
get {
|
get {
|
||||||
return ((string)(this["API_URL"]));
|
return ((string)(this["API_URL"]));
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
<Value Profile="(Default)" />
|
<Value Profile="(Default)" />
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="API_URL" Type="System.String" Scope="Application">
|
<Setting Name="API_URL" Type="System.String" Scope="Application">
|
||||||
<Value Profile="(Default)">https://brecaltest.bsmd-emswe.eu</Value>
|
<Value Profile="(Default)">http://127.0.0.1:5000</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="Width" Type="System.Double" Scope="User">
|
<Setting Name="Width" Type="System.Double" Scope="User">
|
||||||
<Value Profile="(Default)">800</Value>
|
<Value Profile="(Default)">800</Value>
|
||||||
|
|||||||
@ -13,7 +13,7 @@ def initPool(instancePath, connection_filename="connection_data_test.json"):
|
|||||||
if(config_path == None):
|
if(config_path == None):
|
||||||
config_path = os.path.join(instancePath,f'../../../secure/{connection_filename}') #connection_data_test.json');
|
config_path = os.path.join(instancePath,f'../../../secure/{connection_filename}') #connection_data_test.json');
|
||||||
|
|
||||||
# config_path = "E:/temp/connection_data.json"
|
config_path = "E:/temp/connection_data.json"
|
||||||
print (config_path)
|
print (config_path)
|
||||||
|
|
||||||
if not os.path.exists(config_path):
|
if not os.path.exists(config_path):
|
||||||
@ -35,7 +35,7 @@ def initPool(instancePath, connection_filename="connection_data_test.json"):
|
|||||||
credentials_file = "email_credentials_test.json"
|
credentials_file = "email_credentials_test.json"
|
||||||
credentials_path = os.path.join(instancePath,f'../../../secure/{credentials_file}')
|
credentials_path = os.path.join(instancePath,f'../../../secure/{credentials_file}')
|
||||||
|
|
||||||
# credentials_path = "E:/temp/email_credentials_devel.json"
|
credentials_path = "E:/temp/email_credentials_devel.json"
|
||||||
|
|
||||||
if not os.path.exists(credentials_path):
|
if not os.path.exists(credentials_path):
|
||||||
print ('cannot find ' + os.path.abspath(credentials_path))
|
print ('cannot find ' + os.path.abspath(credentials_path))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user