Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit ba509fc

Browse files
committed
1.14
1 parent 4cce2d5 commit ba509fc

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ module.exports = {
22
token: process.env.CODE_STATISTIC, // GitHub Access Token (Minimum permissions). Increase QPS of GitHub APIs.
33
expiration: 3600, // expiration second
44
requires: ["*"], // CODE STATISTIC can only be parsed for allowed users. ( * indicates that all users are allowed )
5-
port: 80, // server port
5+
port: 8000, // server port
66
}

views/index.ejs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
width: 100%;
1717
height: 100%;
1818
overflow: auto;
19+
background: #fafcf1;
1920
}
2021
#app {
2122
position: absolute;
@@ -24,11 +25,17 @@
2425
flex-direction: column;
2526
gap: 8px;
2627
margin: 30px;
28+
width: 80%;
29+
min-width: 220px;
30+
max-width: 500px;
2731
}
2832
#generate {
2933
margin: 0 auto;
3034
transform: translateY(20px);
3135
}
36+
#preview {
37+
width: 100%;
38+
}
3239
* {
3340
font-family: Consolas, Nunito, monospace, Serif;
3441
}
@@ -49,7 +56,7 @@
4956
</el-card>
5057
<el-card>
5158
<template v-if="! link"><el-empty image-size="80"></el-empty></template>
52-
<template v-else><el-form-item label="Link"><el-input readonly v-model="link"></el-input></el-form-item><br><img :src="link" alt></template>
59+
<template v-else><el-form-item label="Link"><el-input readonly v-model="link"></el-input></el-form-item><img id="preview" :src="link" alt></template>
5360
</el-card>
5461
</div>
5562
<script>

0 commit comments

Comments
 (0)