Skip to content

Commit

Permalink
Update unreviewed-pages.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Saisengen committed Mar 9, 2024
1 parent 4948f03 commit 6a8c2b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web-services/unreviewed-pages/unreviewed-pages.cs
Expand Up @@ -21,8 +21,7 @@ class Program
static Dictionary<string, pageinfo> pages = new Dictionary<string, pageinfo>();
static void sendresponse(string wiki, string cat, string template, int depth, string result)
{
var sr = new StreamReader("unreviewed-pages.html");
string resulttext = sr.ReadToEnd();
string resulttext = new StreamReader(Path.Combine(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location), "unreviewed-pages.html")).ReadToEnd();
string title = "";
if (cat != "" && template != "")
title = " (" + cat + ", " + template + ")";
Expand Down

0 comments on commit 6a8c2b8

Please sign in to comment.