lint
This commit is contained in:
parent
354f35c690
commit
e7e615565c
5 changed files with 5 additions and 17 deletions
|
|
@ -3,8 +3,6 @@ import { concat, each, last, map } from 'lodash'
|
|||
import { paramsString, promisedRequest } from './helpers.js'
|
||||
|
||||
import {
|
||||
parseAttachment,
|
||||
parseChat,
|
||||
parseLinkHeaderPagination,
|
||||
parseNotification,
|
||||
parseSource,
|
||||
|
|
|
|||
|
|
@ -23,9 +23,7 @@ import {
|
|||
getOrCreateChat,
|
||||
sendChatMessage,
|
||||
} from 'src/api/chats.js'
|
||||
import {
|
||||
WSConnectionStatus,
|
||||
} from 'src/api/websocket.js'
|
||||
import { WSConnectionStatus } from 'src/api/websocket.js'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { faChevronDown, faChevronLeft } from '@fortawesome/free-solid-svg-icons'
|
||||
|
|
|
|||
|
|
@ -10,13 +10,8 @@ import { useInterfaceStore } from 'src/stores/interface'
|
|||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||
|
||||
import {
|
||||
fetchConversation,
|
||||
fetchStatus,
|
||||
} from 'src/api/public.js'
|
||||
import {
|
||||
WSConnectionStatus,
|
||||
} from 'src/api/websocket.js'
|
||||
import { fetchConversation, fetchStatus } from 'src/api/public.js'
|
||||
import { WSConnectionStatus } from 'src/api/websocket.js'
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -8,9 +8,7 @@ import { useInterfaceStore } from 'src/stores/interface.js'
|
|||
import { useOAuthStore } from 'src/stores/oauth.js'
|
||||
import { useShoutStore } from 'src/stores/shout.js'
|
||||
|
||||
import {
|
||||
fetchTimeline,
|
||||
} from 'src/api/public.js'
|
||||
import { fetchTimeline } from 'src/api/public.js'
|
||||
import {
|
||||
getMastodonSocketURI,
|
||||
ProcessedWS,
|
||||
|
|
@ -99,7 +97,6 @@ const api = {
|
|||
const { state, commit, dispatch, rootState } = store
|
||||
const timelineData = rootState.statuses.timelines.friends
|
||||
|
||||
const serv = useInstanceStore().server.replace('http', 'ws')
|
||||
const credentials = useOAuthStore().token
|
||||
const url = getMastodonSocketURI({ credentials })
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ export default defineConfig(async ({ mode, command }) => {
|
|||
const settings = await getLocalDevSettings()
|
||||
const target = settings.target || 'http://localhost:4000/'
|
||||
const origin = settings.origin || target
|
||||
const targetSW = target.replace(/^http/,'ws')
|
||||
const targetSW = target.replace(/^http/, 'ws')
|
||||
const transformSW = getTransformSWSettings(settings)
|
||||
const proxy = {
|
||||
'/api': {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue