lscontests 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -55,7 +55,7 @@ Options:
55
55
  It performs as follows:
56
56
 
57
57
  <!-- block_cli begin -->
58
- (*The following content was automatically generated using [semantic-release](https://github.com/semantic-release/semantic-release) on Thu, 26 May 2022 07:08:14 GMT*)
58
+ (*The following content was automatically generated using [semantic-release](https://github.com/semantic-release/semantic-release) on Thu, 26 May 2022 07:14:28 GMT*)
59
59
 
60
60
  <details>
61
61
  <summary> <code>> lsct -L en</code> </summary>
package/dist/server.html CHANGED
@@ -108,7 +108,12 @@
108
108
  <script>
109
109
  function updateURL()
110
110
  {
111
- const curr = window.location.href.split("?")[0].trimEnd() + "/ics";
111
+ let curr = window.location.href.split("?")[0];
112
+ if(!curr.endsWith("/"))
113
+ {
114
+ curr += "/";
115
+ }
116
+ curr += "ics";
112
117
  const args = new URLSearchParams();
113
118
 
114
119
  //process ojs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lscontests",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "A tool to get information about the contests on each OJ",
5
5
  "keywords": [
6
6
  "cli",