短网址就是把普通网址,转换成比较短的网址。比如:http://t.cn/RlB2PdD 这种,在某些限制字数的应用里。好处不言而喻。短、字符少、美观、便于发布、传播。
修改代码后可以一键发布到线上,刷新页面直接看到最新效果。
http://ec2-18-205-158-123.compute-1.amazonaws.com/main/index
http://ec2-18-205-158-123.compute-1.amazonaws.com/swagger/swagger-ui.html
http://ec2-18-205-158-123.compute-1.amazonaws.com/actuator/loggers/
curl -X POST http://ec2-18-205-158-123.compute-1.amazonaws.com/actuator/loggers/aws.urlshortener
-H "Content-Type: application/vnd.spring-boot.actuator.v2+json;charset=UTF-8"
--data '{"configuredLevel":"DEBUG"}'
https://console.aws.amazon.com/codesuite/codepipeline/pipelines?region=us-east-1, 选择第一个 shorturl_aws_myFirstPipeline