mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Disable scan-new-apps script on linux
This commit is contained in:
parent
350f9d5b19
commit
406cdf634d
1 changed files with 5 additions and 0 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue