pcpuma_unam_operador/nuxt.config.js

46 lines
1.2 KiB
JavaScript
Raw Normal View History

2022-05-30 23:08:35 +00:00
export default {
ssr: false,
2022-08-08 06:43:19 +00:00
server: { port: 3186 },
// server: { port: 3014 },
2022-05-30 23:08:35 +00:00
target: 'static',
head: {
2022-08-08 02:09:28 +00:00
title: 'PC Puma',
2022-05-30 23:08:35 +00:00
htmlAttrs: {
lang: 'es',
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '' },
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
},
css: [],
2022-07-11 01:06:30 +00:00
plugins: ['~/plugins/inject.js'],
2022-05-30 23:08:35 +00:00
components: true,
buildModules: [],
2022-07-04 19:28:22 +00:00
modules: ['nuxt-buefy', '@nuxtjs/axios', 'nuxt-socket-io'],
2022-05-30 23:08:35 +00:00
axios: {},
build: {},
2022-07-04 19:28:22 +00:00
io: {
sockets: [
{
name: 'main',
2022-08-08 14:02:32 +00:00
// url: 'http://localhost:3000',
2022-08-02 06:11:35 +00:00
// url: 'https://venus.acatlan.unam.mx',
2022-08-08 14:03:13 +00:00
// url: 'https://pmodulospcpuma.unam.mx',
url: 'https://modulospcpuma.unam.mx',
2022-07-04 19:28:22 +00:00
},
],
},
2022-05-30 23:08:35 +00:00
env: {
2022-08-08 14:02:32 +00:00
// api: 'http://localhost:3000',
2022-08-02 06:11:35 +00:00
// api: 'https://venus.acatlan.unam.mx/pcpumaUnam_test',
2022-08-08 14:03:13 +00:00
// api: 'https://pmodulospcpuma.unam.mx/pcpumaUnam_test',
api: 'https://modulospcpuma.unam.mx/pcpumaUnam',
2022-08-08 14:02:32 +00:00
// path: '/socket.io/',
2022-08-08 14:03:13 +00:00
// path: '/pcpumaUnam_test/socket.io/',
path: '/pcpumaUnam/socket.io/',
2022-05-30 23:08:35 +00:00
},
}