Tag: route
-
Post Views: 69 Since LetsVPN officially announced that the service was stopped, many friends who pursue privacy and self-use network have embarked on their own way to build Wireguard. Recently, a reader sent me an email consultation: I am like me, I have started a VULTR $5 per month Singapore entry model, and the Wireguard has been built. After visiting…
-
Post Views: 17 1. In Laravel 6, define the route as follows 2. Now you need to adjust /static/xxx to get the value from the environment variable, that is, use the global config function to access the configuration value 3. Print output/ / *. config(filesystems.disks.theme-asset-cdn.root) .{theme_id}/{asset_key}, its value is: /static/xxx/{theme_id}/{asset_key} . and the corresponding controller method can be executed. in…
-
Post Views: 15 1. The route of a requesting resource file is as follows: /static/xxx/9915995c-2952-4 90c-8e51-037a0950233c/assets/js/react.f886be.js 2. Since / is included in asset_key. Laravel routing components allow all characters except / . You must explicitly allow / to be part of a placeholder using the WHERE conditional regular expression. Otherwise, the route will fall back. The routes/web.php file is used…
-
Post Views: 15 1. Open the desktop application terminal, the interface, as shown in Figure 1 2. Interface: my topic selection (get a list of topics), the response structure in postman, as shown in Figure 2 3. Prototype design on the mobile application side, as shown in Figure 3 4. At this stage: the subsequent iterative development stage, the desktop…
-
Post Views: 12 1. In APM monitoring, due to Alibaba Cloud’s get URL/request, a large number of 404 responses are caused, which has a certain interference to the operation and maintenance work, as shown in Figure 1 2. Request in Postman:http://api.kaiqiu_shujujiexi_api.dev/, response 404, as shown in Figure 2 3. When the request is resolved to an empty route, the so-called…