From 495b7594f9163e9442d4a8306ad747a3715d2c52 Mon Sep 17 00:00:00 2001 From: Florian Lang Date: Tue, 15 Aug 2017 11:24:32 +0200 Subject: [PATCH] allow cross site acces from file:/// --- ArchiSteamFarm/IPC.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/IPC.cs b/ArchiSteamFarm/IPC.cs index c518d0c5b..35b83e473 100644 --- a/ArchiSteamFarm/IPC.cs +++ b/ArchiSteamFarm/IPC.cs @@ -121,7 +121,7 @@ namespace ArchiSteamFarm { string response = await bot.Response(Program.GlobalConfig.SteamOwnerID, command).ConfigureAwait(false); ASF.ArchiLogger.LogGenericInfo(string.Format(Strings.IPCAnswered, command, response)); - + context.Response.AppendHeader("Access-Control-Allow-Origin", "null"); await context.Response.WriteAsync(HttpStatusCode.OK, response).ConfigureAwait(false); break; }