Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed#839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
mmfei wants to merge2 commits intogetgridea:master
base:master
Choose a base branch
Loading
frommmfei:master
Open

Fixed#839

Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NextNext commit
fixed
  • Loading branch information
@mmfei
mmfei committedJun 14, 2021
commit1b9ae45fc9ce83c13e2d8118965d49a2e8b4e077
8 changes: 4 additions & 4 deletionssrc/server/events/deploy.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,8 +5,8 @@ import SftpDeploy from '../plugins/deploys/sftp'

export default class DeployEvents {
constructor(appInstance: any) {
const { platform } = appInstance.db.setting
const { platform } = appInstance.db.setting.platform

const deploy = new Deploy(appInstance)
const sftp = new SftpDeploy(appInstance)
const renderer = new Renderer(appInstance)
Expand All@@ -22,11 +22,11 @@ export default class DeployEvents {
'coding': deploy,
'sftp': sftp,
} as any)[platform]

// render
renderer.db.themeConfig.domain = renderer.db.setting.domain
await renderer.renderAll()

// publish
const result = await client.publish()
event.sender.send('site-published', result)
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp