mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -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 axios from 'axios'
|
||||||
|
|
||||||
import viteConfig from '~/vite.config.mjs'
|
import viteConfig from '~/vite.config.mjs'
|
||||||
|
import { isLinux } from '~/helpers/environment.js'
|
||||||
|
|
||||||
const port = 1337
|
const port = 1337
|
||||||
|
|
||||||
;(async () => {
|
;(async () => {
|
||||||
|
|
||||||
|
// Disable on linu(server environments)
|
||||||
|
if ( isLinux() ) return
|
||||||
|
|
||||||
// await scanNewAppsAsBrowser()
|
// await scanNewAppsAsBrowser()
|
||||||
// http://localhost:3000/
|
// http://localhost:3000/
|
||||||
const server = await createServer({
|
const server = await createServer({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue