Skip to content

Commit a7e523b

Browse files
committed
feat: support wildcard certificate #190
1 parent 4984771 commit a7e523b

File tree

17 files changed

+823
-560
lines changed

17 files changed

+823
-560
lines changed

api/certificate/issue.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ func IssueCert(c *gin.Context) {
121121
Domains: payload.ServerName,
122122
SSLCertificatePath: sslCertificatePath,
123123
SSLCertificateKeyPath: sslCertificateKeyPath,
124+
AutoCert: model.AutoCertEnabled,
124125
})
125126

126127
if err != nil {

app/src/components/CodeEditor/CodeEditor.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const props = defineProps<{
88
content?: string
99
defaultHeight?: string
1010
readonly?: boolean
11+
placeholder?: string
1112
}>()
1213
1314
const emit = defineEmits(['update:content'])
@@ -32,9 +33,13 @@ const value = computed({
3233
borderRadius: '5px',
3334
}"
3435
:readonly="readonly"
36+
:placeholder="placeholder"
3537
/>
3638
</template>
3739

3840
<style scoped>
39-
41+
:deep(.ace_placeholder) {
42+
z-index: 1;
43+
position: relative;
44+
}
4045
</style>

0 commit comments

Comments
 (0)