test server
This commit is contained in:
@@ -23,3 +23,5 @@ yarn-error.log*
|
||||
pcpuma
|
||||
|
||||
uploads/*
|
||||
|
||||
config.js
|
||||
Vendored
+3425
File diff suppressed because one or more lines are too long
Vendored
-3
File diff suppressed because one or more lines are too long
Vendored
-6
File diff suppressed because one or more lines are too long
Vendored
+21
-1
@@ -1 +1,21 @@
|
||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>PC Puma</title><link href=/css/app.7630cbc6.css rel=preload as=style><link href=/css/chunk-vendors.3c3429cd.css rel=preload as=style><link href=/js/app.991f3e4a.js rel=preload as=script><link href=/js/chunk-vendors.0df2aad7.js rel=preload as=script><link href=/css/chunk-vendors.3c3429cd.css rel=stylesheet><link href=/css/app.7630cbc6.css rel=stylesheet></head><body><noscript><strong>We're sorry but pcpuma-front doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.0df2aad7.js></script><script src=/js/app.991f3e4a.js></script></body></html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<title>PC Puma</title>
|
||||
|
||||
<link href="/app.js" rel="preload" as="script"></head>
|
||||
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but pcpuma-front doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
<script type="text/javascript" src="/app.js"></script></body>
|
||||
|
||||
</html>
|
||||
Vendored
-2
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-40
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
Generated
+6
@@ -3740,6 +3740,12 @@
|
||||
"is-obj": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"dotenv": {
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-7.0.0.tgz",
|
||||
"integrity": "sha512-M3NhsLbV1i6HuGzBUH8vXrtxOk+tWmzWKDMbAVSUp3Zsjm7ywFeuwrUXhmhQyRK1q5B5GGy7hcXPbj3bnfZg2g==",
|
||||
"dev": true
|
||||
},
|
||||
"duplexer": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz",
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"serve:test": "NODE_ENV='TEST' vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"build:test": "NODE_ENV='TEST' vue-cli-service build",
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
+6
-2
@@ -1,9 +1,13 @@
|
||||
import config from '../config'
|
||||
|
||||
const api = {}
|
||||
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
api.url = 'http://localhost:3000'
|
||||
api.url = config.LOCAL
|
||||
} else if (process.env.NODE_ENV === 'TEST') {
|
||||
api.url = config.TEST
|
||||
} else {
|
||||
api.url = 'https://venus.acatlan.unam.mx/puma'
|
||||
api.url = config.PROD
|
||||
}
|
||||
api.isAuth = function () {
|
||||
if (window.localStorage.pcpumaT && window.localStorage.pcpumaU) {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
br
|
||||
br
|
||||
.columns
|
||||
p Test
|
||||
.column.is-12.has-text-centered
|
||||
h1.is-size-2 Bienvenido A PC Puma
|
||||
.columns
|
||||
|
||||
Reference in New Issue
Block a user