mirror of
https://github.com/status-im/fathom.git
synced 2025-02-28 19:10:36 +00:00
misc CS fixes
This commit is contained in:
parent
440a0e5bfa
commit
d6a7cb0365
@ -1,10 +1,9 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var Client = {};
|
var Client = {};
|
||||||
|
|
||||||
Client.request = function(resource, args) {
|
Client.request = function(resource, args) {
|
||||||
args = args || {};
|
args = args || {};
|
||||||
args.credentials = 'include'
|
args.credentials = 'same-origin'
|
||||||
args.headers = args.headers || {};
|
args.headers = args.headers || {};
|
||||||
args.headers['Accept'] = 'application/json';
|
args.headers['Accept'] = 'application/json';
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import { h, render, Component } from 'preact';
|
import { h, render, Component } from 'preact'
|
||||||
import Login from './pages/login.js';
|
import Login from './pages/login.js'
|
||||||
import Dashboard from './pages/dashboard.js';
|
import Dashboard from './pages/dashboard.js'
|
||||||
|
|
||||||
class App extends Component {
|
class App extends Component {
|
||||||
constructor(props) {
|
constructor(props) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user