Skip to content

Commit

Permalink
Merge pull request nickcoutsos#47 from cpiro/fix-save-local
Browse files Browse the repository at this point in the history
fix Save Local
  • Loading branch information
nickcoutsos authored Sep 20, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents bb0c344 + 7b1730c commit 2996e2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/App.js
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ import '@fortawesome/fontawesome-free/css/all.css'
import keyBy from 'lodash/keyBy'
import { useMemo, useState } from 'react'

import * as config from './config'
import './App.css';
import { DefinitionsContext } from './providers'
import { loadKeycodes } from './keycodes'
@@ -23,7 +24,7 @@ function App() {
const [saving, setSaving] = useState(false)

function handleCompile() {
fetch('/keymap', {
fetch(`${config.apiBaseUrl}/keymap`, {
method: 'POST',
headers: {
'Content-Type': 'application/json'

0 comments on commit 2996e2f

Please sign in to comment.