update api full
This commit is contained in:
parent
eebd27660d
commit
a825372791
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"files": {
|
"files": {
|
||||||
"main.css": "/static/css/main.2405f914.chunk.css",
|
"main.css": "/static/css/main.2405f914.chunk.css",
|
||||||
"main.js": "/static/js/main.6cd2a77b.chunk.js",
|
"main.js": "/static/js/main.4b0439bb.chunk.js",
|
||||||
"main.js.map": "/static/js/main.6cd2a77b.chunk.js.map",
|
"main.js.map": "/static/js/main.4b0439bb.chunk.js.map",
|
||||||
"runtime-main.js": "/static/js/runtime-main.d40e0088.js",
|
"runtime-main.js": "/static/js/runtime-main.d40e0088.js",
|
||||||
"runtime-main.js.map": "/static/js/runtime-main.d40e0088.js.map",
|
"runtime-main.js.map": "/static/js/runtime-main.d40e0088.js.map",
|
||||||
"static/css/2.d555f809.chunk.css": "/static/css/2.d555f809.chunk.css",
|
"static/css/2.d555f809.chunk.css": "/static/css/2.d555f809.chunk.css",
|
||||||
|
|
@ -50,6 +50,6 @@
|
||||||
"static/css/2.d555f809.chunk.css",
|
"static/css/2.d555f809.chunk.css",
|
||||||
"static/js/2.f541d171.chunk.js",
|
"static/js/2.f541d171.chunk.js",
|
||||||
"static/css/main.2405f914.chunk.css",
|
"static/css/main.2405f914.chunk.css",
|
||||||
"static/js/main.6cd2a77b.chunk.js"
|
"static/js/main.4b0439bb.chunk.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -1 +1 @@
|
||||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/><link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Etalon</title><link href="/static/css/2.d555f809.chunk.css" rel="stylesheet"><link href="/static/css/main.2405f914.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"dfb2e422"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpreact-etalon"]=this["webpackJsonpreact-etalon"]||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script><script src="/static/js/2.f541d171.chunk.js"></script><script src="/static/js/main.6cd2a77b.chunk.js"></script></body></html>
|
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="preconnect" href="https://fonts.googleapis.com"/><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin/><link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Etalon</title><link href="/static/css/2.d555f809.chunk.css" rel="stylesheet"><link href="/static/css/main.2405f914.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],s=0,p=[];s<i.length;s++)a=i[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&p.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(t);p.length;)p.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={1:0},u=[];function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,i=document.createElement("script");i.charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=function(e){return a.p+"static/js/"+({}[e]||e)+"."+{3:"dfb2e422"}[e]+".chunk.js"}(e);var c=new Error;u=function(t){i.onerror=i.onload=null,clearTimeout(l);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,r[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:i})}),12e4);i.onerror=i.onload=u,document.head.appendChild(i)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/",a.oe=function(e){throw console.error(e),e};var i=this["webpackJsonpreact-etalon"]=this["webpackJsonpreact-etalon"]||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var l=0;l<i.length;l++)t(i[l]);var f=c;r()}([])</script><script src="/static/js/2.f541d171.chunk.js"></script><script src="/static/js/main.4b0439bb.chunk.js"></script></body></html>
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -39,7 +39,7 @@ import RightArrow_2 from "../../svg/rightArrow_2.svg";
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/categories/3 + ?pgn=6`;
|
const url = `https://etalon.gov.tm:8080/api/v1/categories/3 + ?pgn=6`;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ import RightArrowBlue from "../../svg/rightArrowBlue.svg";
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/categories/2 + ?pgn=3`;
|
const url = `https://etalon.gov.tm:8080/api/v1/categories/2 + ?pgn=3`;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ class CalibrateInstruments extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/categories/8 + ?pgn=50`;
|
const url = `https://etalon.gov.tm:8080/api/v1/categories/8 + ?pgn=50`;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ class Department extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/posts/`+this.props.match.params.slug;
|
const url = `https://etalon.gov.tm:8080/api/v1/posts/`+this.props.match.params.slug;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class Etalon extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/posts/`+this.props.match.params.slug;
|
const url = `https://etalon.gov.tm:8080/api/v1/posts/`+this.props.match.params.slug;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ class Etalons extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/categories/5 + ?pgn=50`;
|
const url = `http://127.0.0.1:8000/api/v1/categories/5 + ?pgn=50`;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ class Legislation extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/categories/6 + ?pgn=50`;
|
const url = `https://etalon.gov.tm:8080/api/v1/categories/6 + ?pgn=50`;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ class Main extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/slider`
|
const url = `https://etalon.gov.tm:8080/api/v1/slider`
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ class MeasuringRegister extends React.Component {
|
||||||
else if(this.state.tablePage > 1){
|
else if(this.state.tablePage > 1){
|
||||||
this.setState({tablePage: this.state.tablePage - 1})
|
this.setState({tablePage: this.state.tablePage - 1})
|
||||||
}
|
}
|
||||||
const url = 'http://217.174.238.204:8888/api/v1/reestr';
|
const url = 'https://etalon.gov.tm:8080/api/v1/reestr';
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ class Meteorology extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/categories/7 + ?pgn=50`;
|
const url = `https://etalon.gov.tm:8080/api/v1/categories/7 + ?pgn=50`;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ class News extends React.Component {
|
||||||
this.setState({tablePage: this.state.tablePage - 1})
|
this.setState({tablePage: this.state.tablePage - 1})
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/categories/2?pgn=6&`;
|
const url = `https://etalon.gov.tm:8080/api/v1/categories/2?pgn=6&`;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ class Novelty extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/posts/`+this.props.match.params.slug;
|
const url = `https://etalon.gov.tm:8080/api/v1/posts/`+this.props.match.params.slug;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ class Post extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/posts/`+this.props.match.params.slug;
|
const url = `https://etalon.gov.tm:8080/api/v1/posts/`+this.props.match.params.slug;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ class Regulations extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/reestr_doc`
|
const url = `https://etalon.gov.tm:8080/api/v1/reestr_doc`
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ class Service extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/insfor_usluh`;
|
const url = `https://etalon.gov.tm:8080/api/v1/insfor_usluh`;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class Service_bottom extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/wid_zayawok`;
|
const url = `https://etalon.gov.tm:8080/api/v1/wid_zayawok`;
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ class Structure extends React.Component {
|
||||||
|
|
||||||
makeRemoteRequest = () => {
|
makeRemoteRequest = () => {
|
||||||
|
|
||||||
const url = `http://217.174.238.204:8888/api/v1/struktura_sentra`
|
const url = `https://etalon.gov.tm:8080/api/v1/struktura_sentra`
|
||||||
|
|
||||||
if (this._mounted) {
|
if (this._mounted) {
|
||||||
this.setState({ DataisLoaded: true });
|
this.setState({ DataisLoaded: true });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue