diff options
Diffstat (limited to 'api')
| -rw-r--r-- | api/.idea/.idea.WhatApi/.idea/data_source_mapping.xml | 6 | ||||
| -rw-r--r-- | api/.idea/.idea.WhatApi/.idea/sqldialects.xml | 6 | ||||
| -rw-r--r-- | api/WhatApi/Program.cs | 1 |
3 files changed, 1 insertions, 12 deletions
diff --git a/api/.idea/.idea.WhatApi/.idea/data_source_mapping.xml b/api/.idea/.idea.WhatApi/.idea/data_source_mapping.xml deleted file mode 100644 index 16f7743..0000000 --- a/api/.idea/.idea.WhatApi/.idea/data_source_mapping.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="DataSourcePerFileMappings"> - <file url="file://$PROJECT_DIR$/.idea/.idea.WhatApi/.idea/queries/Query.sql" value="4705593e-7cb4-468e-aaf4-fd47704f2409" /> - </component> -</project>
\ No newline at end of file diff --git a/api/.idea/.idea.WhatApi/.idea/sqldialects.xml b/api/.idea/.idea.WhatApi/.idea/sqldialects.xml deleted file mode 100644 index f21172d..0000000 --- a/api/.idea/.idea.WhatApi/.idea/sqldialects.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<project version="4"> - <component name="SqlDialectMappings"> - <file url="file://$PROJECT_DIR$/.idea/.idea.WhatApi/.idea/queries/Query.sql" dialect="PostgreSQL" /> - </component> -</project>
\ No newline at end of file diff --git a/api/WhatApi/Program.cs b/api/WhatApi/Program.cs index fa50661..7d9c1b4 100644 --- a/api/WhatApi/Program.cs +++ b/api/WhatApi/Program.cs @@ -91,6 +91,7 @@ app.UseCors(); app.MapStaticAssets(); app.UseMiddleware<UserLastSeenMiddleware>(); app.UseAuthentication(); +app.UseAuthorization(); app.MapControllers(); app.MapGet("/", () => Results.Redirect("/map")); app.Run(); |
