search
HomeWeChat AppletMini Program DevelopmentDoes the mini program require website support?

Does the mini program require website support?

Mar 21, 2020 pm 04:07 PM
Appletswebsite

Does the mini program require website support?

Does the mini program require website support?

The WeChat mini program is a pure front-end and does not require a website (or server) to support it.

When your mini program does not use network requests, that is, it is a purely offline version of the mini program, there is no need to configure domain names, addresses, etc.

If your mini program uses network requests and does not configure a domain name, the interface will not be called normally after it is released to production.

1. Server domain name configuration

Each WeChat applet needs to set a communication domain name in advance. The applet can only communicate with the specified domain name over the network. Including ordinary HTTPS requests (wx.request), upload files (wx.uploadFile), download files (wx.downloadFile) and WebSocket communication (wx.connectSocket)

2, configuration process

Server Please configure the domain name in "Mini Program Backend-Development-Development Settings-Server Domain Name". Please pay attention when configuring:

For details, please refer to

https://developers.weixin .qq.com/miniprogram/dev/framework/ability/network.html

Recommended learning: Mini program development

The above is the detailed content of Does the mini program require website support?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.