mirror of https://github.com/dirtbags/moth.git
Add category to URL in puzzles.cgi
This commit is contained in:
parent
0ac533c2cf
commit
d18ad8238f
|
@ -136,7 +136,7 @@ main(int argc, char *argv[])
|
|||
read_until_char(map, hash, sizeof(hash), '\n');
|
||||
points = atol(points_str);
|
||||
|
||||
printf(" <a href=\"/%s/\">%ld</a>\n", hash, points);
|
||||
printf(" <a href=\"/%s/%s/\">%ld</a>\n", cat, hash, points);
|
||||
|
||||
if (points > maxpoints) break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue