mirror of https://github.com/dirtbags/moth.git
Add category to URL in puzzles.cgi
This commit is contained in:
parent
2db81def0d
commit
622ed71052
|
@ -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