aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/Startup.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2020-08-02 23:07:23 +0200
committerivarlovlie <git@ivarlovlie.no>2020-08-02 23:07:38 +0200
commit77352e518614cfeaf3bb649ed15b0d854076fe6e (patch)
tree906fc99e8662f3d81bc24e825253a2cb870b43f4 /src/server/Startup.cs
parent25c5dac6310d20ec9d2f3bee8efd9af0199fb699 (diff)
downloaddough-77352e518614cfeaf3bb649ed15b0d854076fe6e.tar.xz
dough-77352e518614cfeaf3bb649ed15b0d854076fe6e.zip
Login: auth and save profile in vuex, show errors
Diffstat (limited to 'src/server/Startup.cs')
-rw-r--r--src/server/Startup.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/server/Startup.cs b/src/server/Startup.cs
index 7c7adf0..4f0d467 100644
--- a/src/server/Startup.cs
+++ b/src/server/Startup.cs
@@ -49,10 +49,7 @@ namespace Dough
});
services.AddDbContext<MainDbContext>(options => {
- options.UseMySql(GetConnectionStringFromEnvironment(), settings =>
- {
- settings.EnableRetryOnFailure(3);
- });
+ options.UseMySql(GetConnectionStringFromEnvironment());
});
services.AddControllers();