feat: add mathpixel
This commit is contained in:
@@ -13,6 +13,12 @@ type Config struct {
|
||||
UploadDir string `mapstructure:"upload_dir"`
|
||||
Limit LimitConfig `mapstructure:"limit"`
|
||||
Aliyun AliyunConfig `mapstructure:"aliyun"`
|
||||
Mathpix MathpixConfig `mapstructure:"mathpix"`
|
||||
}
|
||||
|
||||
type MathpixConfig struct {
|
||||
AppID string `mapstructure:"app_id"`
|
||||
AppKey string `mapstructure:"app_key"`
|
||||
}
|
||||
|
||||
type LimitConfig struct {
|
||||
|
||||
@@ -44,3 +44,7 @@ aliyun:
|
||||
access_key_id: LTAI5t8qXhow6NCdYDtu1saF
|
||||
access_key_secret: qZ2SwYsNCEBckCVSOszH31yYwXU44A
|
||||
bucket_name: texpixel-doc
|
||||
|
||||
mathpix:
|
||||
app_id: "576157025515297792"
|
||||
app_key: "683f7133391a1039383161653531396234343536393263346632613437343332"
|
||||
|
||||
@@ -43,3 +43,8 @@ aliyun:
|
||||
access_key_id: LTAI5t8qXhow6NCdYDtu1saF
|
||||
access_key_secret: qZ2SwYsNCEBckCVSOszH31yYwXU44A
|
||||
bucket_name: texpixel-doc
|
||||
|
||||
|
||||
mathpix:
|
||||
app_id: "576157025515297792"
|
||||
app_key: "fb72d251e33ac85c929bfd4eec40d78368d08d82fb2ee1cffb04a8bb967d1db5"
|
||||
Reference in New Issue
Block a user