mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-19 13:03:44 +00:00
standardize on unix file endings (#516)
The majority of our source files have `\n` line endings. This updates the few files that use `\r\n` to use `\n`.
This commit is contained in:
@ -1,21 +1,21 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
import azure.functions as func
|
||||
|
||||
# This endpoint handles the signalr negotation
|
||||
# As we do not differentiate from clients at this time, we pass the Functions runtime
|
||||
# provided connection straight to the client
|
||||
#
|
||||
# For more info:
|
||||
# https://docs.microsoft.com/en-us/azure/azure-signalr/signalr-concept-internals
|
||||
|
||||
|
||||
def main(req: func.HttpRequest, connectionInfoJson: str) -> func.HttpResponse:
|
||||
return func.HttpResponse(
|
||||
connectionInfoJson,
|
||||
status_code=200,
|
||||
headers={"Content-type": "application/json"},
|
||||
)
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
import azure.functions as func
|
||||
|
||||
# This endpoint handles the signalr negotation
|
||||
# As we do not differentiate from clients at this time, we pass the Functions runtime
|
||||
# provided connection straight to the client
|
||||
#
|
||||
# For more info:
|
||||
# https://docs.microsoft.com/en-us/azure/azure-signalr/signalr-concept-internals
|
||||
|
||||
|
||||
def main(req: func.HttpRequest, connectionInfoJson: str) -> func.HttpResponse:
|
||||
return func.HttpResponse(
|
||||
connectionInfoJson,
|
||||
status_code=200,
|
||||
headers={"Content-type": "application/json"},
|
||||
)
|
||||
|
Reference in New Issue
Block a user