Give us contact

Do you prefer to ask us directly?

Call us +420 605 203 938 (the Czech Republic)

or use this contacts

AyMINE

Related links


FI - Finance Management

Mobile application

AyMINE offers a mobile app. However, there are a few necessities that the server must meet.

CORS settings

To make mobile application work properly, AyMINE server has to allow certain cross-orgin communication. These permission have to be set up in three places.

  • frm/FE/request.php (handled by code)
  • sys/FE/sysPoint.php (handled by code)
  • nginx configuration (described below)

NGINX configuration

Cross-origin requesting of static files has to be allowed in appropritate .conf file, which has to set Access-Control-Allow-Origin heder to * for files with static extensions (so far:css,js,scss,json,jsonc,png,svg,woff2)

Implementation

"location ~* \.(css|js|scss|json|jsonc|png|svg|woff2)$ {
        add_header Access-Control-Allow-Origin *;
    }
"