@xcpcio/board-app 0.1.18 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # xcpcio/apps/board
2
+
3
+ ## Configuration
4
+
5
+ 配置文件在主目录下的 `config.ts` 。
6
+
7
+ ```typescript
8
+ {
9
+ title: 'Board - XCPCIO',
10
+ publicPath: '/',
11
+ // 数据源的前缀目录,该部分会在发送request请求时自动加在请求地址的前缀
12
+ data_host: '/data/',
13
+ metas: [
14
+ {
15
+ name: 'keywords',
16
+ content: 'icpc, ccpc, board, rank, standings'
17
+ },
18
+ {
19
+ name: 'description',
20
+ content: 'XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。'
21
+ },
22
+ ],
23
+ // 本地开发时数据源的代理地址
24
+ proxy: {
25
+ '/data': {
26
+ target: 'https://board.xcpcio.com',
27
+ changeOrigin: true,
28
+ },
29
+ },
30
+ };
31
+ ```
32
+
33
+ ## License
34
+
35
+ [MIT](../../../LICENSE) License © 2023 [XCPCIO][xcpcio]
36
+
37
+ [xcpcio]: https://github.com/XCPCIO
package/dist/index.html CHANGED
@@ -108,6 +108,6 @@
108
108
  <div id="root"></div>
109
109
  </center>
110
110
 
111
- <script src="__PUBLIC_PATH__/umi.05aa07bc.js"></script>
111
+ <script src="__PUBLIC_PATH__/umi.41f7b272.js"></script>
112
112
  </body>
113
113
  </html>