Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(schema): only disallow vite server port and host #7554

Merged
merged 2 commits into from Sep 15, 2022

Commits on Sep 15, 2022

  1. Configuration menu
    Copy the full SHA
    f1f571e View commit details
    Browse the repository at this point in the history
  2. diff --git a/packages/schema/src/types/config.ts b/packages/schema/sr…

    …c/types/config.ts
    
    index 60f9e5e7..129844dc 100644
    --- a/packages/schema/src/types/config.ts
    +++ b/packages/schema/src/types/config.ts
    @@ -1,6 +1,6 @@
     import type { KeepAliveProps, TransitionProps } from 'vue'
     import { ConfigSchema } from '../../schema/config'
    -import type { ViteServerOptions, UserConfig as ViteUserConfig } from 'vite'
    +import type { ServerOptions as ViteServerOptions, UserConfig as ViteUserConfig } from 'vite'
     import type { Options as VuePluginOptions } from '@vitejs/plugin-vue'
     import type { MetaObject } from './meta'
     import type { Nuxt } from './nuxt'
    manniL committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    5a137f1 View commit details
    Browse the repository at this point in the history