1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-11 17:58:44 +00:00
Kaifeng Lyu 9c21c957c9 fix(UOJContext.php): fix the bug that "page expires" occurs when accessing by localhost (#41)
To support subdomain cookies, an extra "." is added to the domain when setting the cookies.
However, this strategy fails on "localhost", because browsers do not recognize ".localhost".
So I add a check for this so that "localhost" is used as the cookie domain in this case.
2019-06-11 10:27:22 +08:00
2018-09-20 17:21:40 +08:00
2018-09-20 17:21:40 +08:00
2018-09-20 17:38:09 +08:00

Universal OJ

这是一份民间的UOJ版本我们希望它比官方版本更易用。

部署文档在universaloj.github.io

目前已经支持的特性:

  • 子目录博客(感谢roastduck的贡献)
  • zip传题 (感谢AD1024的贡献)

希望对您有帮助。

Description
Online Judge System for Shijiazhuang No.2 Middle School, based on Universal Online Judge.
https://sjzezoj.com Readme AGPL-3.0 43 MiB
Languages
JavaScript 93.4%
PHP 4.2%
C++ 1.3%
TypeScript 0.3%
CSS 0.3%
Other 0.4%