Enhance currency and gold rates API with custom throttling and improved responses
- Implemented a custom throttle middleware to limit requests to 2 per 30 seconds, enhancing API stability. - Updated API responses to include Turkish messages for successful updates and error handling. - Refactored the CurrencyController to integrate the new throttling logic and improve response clarity. - Enhanced the Scribe documentation to reflect changes in API behavior and response formats. - Updated views to improve branding and user experience, including dynamic content adjustments. These changes collectively improve the API's performance, usability, and branding for the Truncgil Finance application.
This commit is contained in:
@@ -32,10 +32,13 @@
|
||||
.sl-text-base {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
h4.sl-text-paragraph.sl-leading-snug.sl-font-prose.sl-font-semibold.sl-text-heading {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
asdadas
|
||||
<elements-api
|
||||
apiDescriptionUrl="{{ route("scribe.openapi") }}"
|
||||
router="hash"
|
||||
@@ -50,7 +53,7 @@ setTimeout(function() {
|
||||
const linkElement = document.querySelector('a.sl-flex.sl-items-center.sl-px-4.sl-py-3.sl-border-t');
|
||||
if (linkElement) {
|
||||
linkElement.href = "https://truncgil.com"; // Yeni URL'yi buraya ekleyin
|
||||
// linkElement.innerHTML = '<img src="https://truncgil.com.tr/yatay.svg" alt="Truncgil Teknoloji">'; // Resim URL'sini ve alternatif metni buraya ekleyin
|
||||
linkElement.innerHTML = '<img src="https://truncgil.com.tr/yatay.svg" width="100" alt="Truncgil Teknoloji">'; // Resim URL'sini ve alternatif metni buraya ekleyin
|
||||
}
|
||||
}, 1000); // 1 saniye gecikme
|
||||
</script>
|
||||
|
||||
@@ -32,6 +32,10 @@
|
||||
.sl-text-base {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
h4.sl-text-paragraph.sl-leading-snug.sl-font-prose.sl-font-semibold.sl-text-heading {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -55,7 +59,7 @@ setTimeout(function() {
|
||||
const linkElement = document.querySelector('a.sl-flex.sl-items-center.sl-px-4.sl-py-3.sl-border-t');
|
||||
if (linkElement) {
|
||||
linkElement.href = "https://truncgil.com"; // Yeni URL'yi buraya ekleyin
|
||||
// linkElement.innerHTML = '<img src="https://truncgil.com.tr/yatay.svg" alt="Truncgil Teknoloji">'; // Resim URL'sini ve alternatif metni buraya ekleyin
|
||||
linkElement.innerHTML = '<img src="https://truncgil.com.tr/yatay.svg" width="100" alt="Truncgil Teknoloji">'; // Resim URL'sini ve alternatif metni buraya ekleyin
|
||||
}
|
||||
}, 1000); // 1 saniye gecikme
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user