Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ShirasawaSama committed Aug 1, 2020
1 parent b06e01d commit 77a398a
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 315 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,9 @@ jobs:
- name: Build app
run: yarn build

- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: dist
path: dist

- name: Deploy
uses: crazy-max/ghaction-github-pages@v1
with:
build_dir: dist
committer_email: [email protected]
fqdn: user.neko-craft.com
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload to cos
uses: TencentCloud/cos-action@v1
with:
secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }}
secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }}
cos_bucket: ${{ secrets.COS_BUCKET }}
cos_region: ${{ secrets.COS_REGION }}
local_path: dist
clean: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"typescript": "3.9.6"
},
"scripts": {
"start": "parcel index.html",
"start": "parcel index.html --https",
"build": "parcel build index.html --public-url . --no-source-maps",
"lint": "eslint src/**/*.{ts,tsx}",
"fix": "eslint --fix src/**/*.{ts,tsx}"
Expand Down
19 changes: 10 additions & 9 deletions src/assets/about_content.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
## 服务器地址

- **自动选择:** neko-craft.com
- **直连地址:** neko-craft.com:25587
- **电信:** telnet.neko-craft.com:25587
- **移动:** mobile.neko-craft.com:25587
- **联通:** telecom.neko-craft.com:25587
- **直连地址:** play.neko-craft.com
- **电信:** dx.neko-craft.com
- **移动:** yd.neko-craft.com
- **联通:** lt.neko-craft.com

## 服务器特点

Expand All @@ -16,7 +16,7 @@

## 交流群组

- Telegream: [@NekoCraft](https://t.me/NekoCraft)
- Telegram: [@NekoCraft](https://t.me/NekoCraft)
- QQ群: [7923309](https://jq.qq.com/?_wv=1027&k=5NWK20A)

## 服务器详细信息
Expand All @@ -31,10 +31,11 @@
6. 击杀 **女巫** 不掉落 *酿造好的药水*.
7. 击杀 **卫道士** & **掠夺者** & **唤魔者** 不掉落 *旗帜**斧头*.
8. **僵尸** 被有 **掠夺** 附魔的物品击杀, 会掉落 *沙子*.
9. 在聊天框中以 `<某位玩家名字>空格` *(比如说: Notch 你好)*, 会提醒该玩家查看信息.
10. 安装有座椅插件, **空手** 右键点击 **楼梯** 可以坐上去.
11. **僵尸** 无法拾起 *鸡蛋**腐肉*.
12. 服务器地图种子: `609567216262790763`
9. **蠹虫** 被击杀, 会掉落 *混凝土*.
10. 在聊天框中以 `<某位玩家名字>空格` *(比如说: Notch 你好)*, 会提醒该玩家查看信息.
11. 安装有座椅插件, **空手** 右键点击 **楼梯** 可以坐上去.
12. **僵尸** 无法拾起 *鸡蛋**腐肉*.
13. 服务器地图种子: `609567216262790763`

### 可以使用的指令

Expand Down
3 changes: 1 addition & 2 deletions src/io.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import socketIO from 'socket.io-client'

export default socketIO(process.env.NODE_ENV === 'production'
? location.protocol === 'https:' ? 'https://hz.apisium.cn/nekoPanelWs' : 'http://hz.apisium.cn:9124' : 'http://hz.apisium.cn:9124')
export default socketIO('https://hz.apisium.cn')
2 changes: 1 addition & 1 deletion src/routes/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const ListPage: React.FC = () => {
columns={columns}
dataSource={list}
scroll={{ x: 'max-content' }}
pagination={false}
pagination={{ defaultPageSize: 30 }}
/>
</Card>
</Col>
Expand Down
2 changes: 1 addition & 1 deletion src/routes/Maps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Maps: React.FC = () => {
width='100%'
height='100%'
frameBorder='none'
src='http://hz.apisium.cn:9123'
src='https://nekomaps.apisium.cn/'
/>
</Spin>
</div>
Expand Down
Loading

0 comments on commit 77a398a

Please sign in to comment.