summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/renderer/gameserver/news.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/gameserver/news.ts b/src/renderer/gameserver/news.ts
index 094172c..656238c 100644
--- a/src/renderer/gameserver/news.ts
+++ b/src/renderer/gameserver/news.ts
@@ -7,7 +7,7 @@ export namespace News { // Fetches only the most recent entry
export async function get(url:string,parser:NewsType):Promise<string>{
try {
//1. load
- const unsafe_content = await request(url);
+ const unsafe_content = await request(`${url}?${Math.random()}`);
//2. sanitize
const content = killHTML( unsafe_content );
//3. parse