skyfffire 3 ani în urmă
părinte
comite
561edcc099
3 a modificat fișierele cu 7 adăugiri și 7 ștergeri
  1. 2 2
      package.json
  2. 1 1
      src/App.vue
  3. 4 4
      src/plugins/model/EthMev.js

+ 2 - 2
package.json

@@ -6,8 +6,8 @@
     "serve": "vue-cli-service serve",
     "build": "vue-cli-service build",
     "lint": "vue-cli-service lint",
-    "uploadFromMacOS": "sudo scp -i ~/Desktop/410.pem -r /Volumes/Code/Customer/410/ethereum_viewer_webapp/dist ec2-user@3.227.34.41:/webapp/frontend",
-    "uploadFromWindows": "scp -i 410.pem -r C:/Users/skyfffire/WebstormProjects/ethereum_viewer_webapp/dist ec2-user@3.227.34.41:/webapp/frontend"
+    "uploadFromMacOS": "sudo scp -i ~/Desktop/410.pem -r /Volumes/Code/Customer/410/ethereum_viewer_webapp/dist ec2-user@3.227.34.41:/webapp/frontend-ftm",
+    "uploadFromWindows": "scp -i 410.pem -r C:/Users/skyfffire/WebstormProjects/ethereum_viewer_webapp/dist ec2-user@3.227.34.41:/webapp/frontend-ftm"
   },
   "dependencies": {
     "@mdi/font": "^5.6.55",

+ 1 - 1
src/App.vue

@@ -1,6 +1,6 @@
 <template>
   <v-app>
-    <div v-title data-title="EthMevTools"></div>
+    <div v-title data-title="FtmTools"></div>
 
     <v-app-bar app elevation="1">
       <div class="d-flex align-center">

+ 4 - 4
src/plugins/model/EthMev.js

@@ -3,7 +3,7 @@ import NumKit from '@/plugins/kit/NumKit'
 
 export default class EthMev {
   static async getEthMevData(block, hash, dataVague, page=1, size=200) {
-    const url = '/ethmev/findByHashOrBlockOrDataVague'
+    const url = '/ethmevftm/findByHashOrBlockOrDataVague'
     const rst = await http.post(url, {
       block: block,
       hash: hash,
@@ -18,7 +18,7 @@ export default class EthMev {
   static async getEthMevPendingData(block, hash, dataVague, page=1, size=200) {
     if (!isNaN(parseInt(block)) && block.charAt(0) !== '-') block = '-' + block
 
-    const url = '/ethmev/findByHashOrBlockOrDataVaguePending'
+    const url = '/ethmevftm/findByHashOrBlockOrDataVaguePending'
     const rst = await http.post(url, {
       block: block,
       hash: hash,
@@ -31,7 +31,7 @@ export default class EthMev {
   }
 
   static async deleteByHash(hash) {
-    const url = '/ethmev/deleteByHash'
+    const url = '/ethmevftm/deleteByHash'
     const rst = await http.post(url, {
       hash: hash
     })
@@ -40,7 +40,7 @@ export default class EthMev {
   }
 
   static async appendOrUpdate(block, hash, dataVague) {
-    const url = '/ethmev/appendOrUpdate'
+    const url = '/ethmevftm/appendOrUpdate'
     const rst = await http.post(url, {
       block: block,
       hash: hash,