chore: Save as gist in development environement
This commit is contained in:
parent
1151d7a4a7
commit
2e6e2c6d82
1 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ import i18n from '@freesewing/plugin-i18n'
|
|||
import Blockquote from '../../Blockquote'
|
||||
import Spinner from '../../Spinner'
|
||||
import Tiler from '@freesewing/utils/tiler'
|
||||
import Backend from '@freesewing/utils/backend'
|
||||
|
||||
const Xport = (props) => {
|
||||
// State
|
||||
|
@ -59,7 +60,7 @@ const Xport = (props) => {
|
|||
}
|
||||
const exportGithubGist = (data) => {
|
||||
setLoading(true)
|
||||
app.backend
|
||||
new Backend('https://backend.freesewing.org/')
|
||||
.createGist({
|
||||
data: YAML.stringify(data),
|
||||
design: data.design
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue