I’ll split my answer into two parts. The first part describes how your problem occurred, the second part is the actual answer to your issue. Description Disclaimer: Most of my description is basically speculation, as I cannot really know what you did. But it’s the most likely scenario, as I cannot think of another way …
Integrate Craft CMS with MVC frameworks
CraftCMS provides API to provide its contents to third parties. This functionality is very useful in large scale projects. We can develop core engines using MVC frameworks and store various contents in Craft CMS. We can fetch those contents by using APIs provided by Craft CMS and display it in MVC frameworks like Laravel.
PostgREST – postgreSQL based RESTful API
PostgREST serves a fully RESTful API from any existing PostgreSQL database. It provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch. Motivation Using PostgREST is an alternative to manual CRUD programming. Custom API servers suffer problems. Writing business logic often duplicates, ignores or hobbles database structure. Object-relational mapping is …
Node.js crypto package
Jwt auth libraries have one issue. Jwt tokens are base64 encoded and easily decoded so user information like user id, expiration date can be exposed to others.In order to prevent this, Node.js provides a Npm package called crypto. The token generated by crypto package is not decoded.https://nodejs.org/api/crypto.html
Infinite Scroll
Infinite scrolling is a technique that allowing users to scroll through a massive chunk of content with no finishing-line in sight. This technique simply keeps refreshing a page when you scroll down it. Tempting as it may sound, the technique isn’t a one-size-fits-all solution for every site or app. When we need to implement the …
Height of the hidden element
In some cases, we need to get the height of the hidden element in HTML. But the default jquery functionalities getting heights are not working for the hidden element. That is, all of the following functionalities doesn’t work. height() outerHeight() innerHeight() To fix this issue, we can use the following library to get the height …
Migration in Truffle Framework
There is a default migration script (1_initial_migration.js) in truffle. This migration script is important and if it is removed, truffle can not work. https://truffleframework.com/ https://github.com/trufflesuite/truffle
Introduction About Chatbro
A messenger for your website Synchronized with the Telegram group chat ChatBro is a simple and useful web messenger that can be linked to Telegram and VK. It let your visitors communicate from mobile devices. Design ChatBro in a web constructor to fit your site. Google indexes the history of messages and you will get …
A/B testing
A/B testing is comparing two versions of a web page to see which one performs better. You compare two web pages by showing the two variants (let’s call them A and B) to similar visitors at the same time. The one that gives a better conversion rate, wins!
Hot Fix for CORS issue
Cross-Origin Resource Sharing (CORS) is a standard that allows a server to relax the same-origin policy. This is used to explicitly allow some cross-origin requests while rejecting others.For example, if a site offers an embeddable service, it may be necessary to relax certain restrictions. Setting up such a CORS configuration isn’t necessarily easy and may present some …