Disable scan-new-apps script on linux

This commit is contained in:
Sam Carlton 2022-09-04 10:13:57 -05:00
parent 350f9d5b19
commit 406cdf634d

View file

@ -2,10 +2,15 @@ import { createServer } from 'vite'
import axios from 'axios'
import viteConfig from '~/vite.config.mjs'
import { isLinux } from '~/helpers/environment.js'
const port = 1337
;(async () => {
// Disable on linu(server environments)
if ( isLinux() ) return
// await scanNewAppsAsBrowser()
// http://localhost:3000/
const server = await createServer({