mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-18 11:08:22 -05:00
added meta property and service for clients
started workign on a new profile page for clients
This commit is contained in:
@ -58,7 +58,11 @@ namespace IW4MAdmin
|
||||
|
||||
bool binaryContent = requestedPage.BinaryContent != null;
|
||||
if (requestedPage.content != null && requestedPage.content.GetType() != typeof(string))
|
||||
#if !DEBUG
|
||||
requestedPage.content = Newtonsoft.Json.JsonConvert.SerializeObject(requestedPage.content);
|
||||
#else
|
||||
requestedPage.content = Newtonsoft.Json.JsonConvert.SerializeObject(requestedPage.content, Newtonsoft.Json.Formatting.Indented);
|
||||
#endif
|
||||
|
||||
string maxAge = requestedPage.contentType == "application/json" ? "0" : "31536000";
|
||||
var headers = new HttpResponseHead()
|
||||
|
Reference in New Issue
Block a user