Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable SSL requirement #46

Merged
merged 1 commit into from
Dec 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion GuildWarsPartySearch/Endpoints/PostPartySearch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

namespace GuildWarsPartySearch.Server.Endpoints;

[ServiceFilter<RequireSsl>]
[ServiceFilter<ApiKeyProtected>]
[ServiceFilter<UserAgentRequired>]
public sealed class PostPartySearch : WebSocketRouteBase<PostPartySearchRequest, PostPartySearchResponse>
Expand Down
3 changes: 1 addition & 2 deletions GuildWarsPartySearch/Endpoints/StatusController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ namespace GuildWarsPartySearch.Server.Endpoints;

[Route("status")]
[ServiceFilter<ApiKeyProtected>]
[ServiceFilter<RequireSsl>]
public class StatusController : Controller
{
private readonly IBotStatusService botStatusService;
Expand All @@ -22,7 +21,7 @@ public StatusController(
[HttpGet("bots")]
[ProducesResponseType(200)]
[ProducesResponseType(403)]
[SwaggerOperation(Description = $"Protected by *{ApiKeyProtected.ApiKeyHeader}* header.\r\n\r\nRequires *SSL* protocol. (https://)")]
[SwaggerOperation(Description = $"Protected by *{ApiKeyProtected.ApiKeyHeader}* header.\r\n\r\n")]
public async Task<IActionResult> GetBotStatus([FromHeader(Name = ApiKeyProtected.ApiKeyHeader)] string _)
{
return this.Ok(await this.botStatusService.GetBots());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ Protected by *{ApiKeyProtected.ApiKeyHeader}* header.

Requires *User-Agent* header to be set.

Requires *SSL* protocol (wss://).

Accepts json payloads. Example:
```json
{{
Expand Down
Loading