Shopify / Shopify/shopify-app-template-node

Serve the app in subfolder / context path

Open
#1,295 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1k
Forks
434
PR merge metrics
No merged PRs in 30d

Description

Issue summary

Everything works fine but is it possible to serve the app in a subfolder. i.e. the app URL

Instead of
https://ykyuen.ngrok.io

Serve with subfolder
https://ykyuen.ngrok.io/abc

The corresponding app config on shopify will look like this
image

  • @shopify/shopify-app-express version: ^2.1.1
  • Node version: 18.17.1
  • Operating system: Linux

Expected behavior

I wish to serve the app in a subfolder.

Actual behavior

I can't get it working.

Steps to reproduce the problem

  1. As stated above

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points; start by tracing the app configuration and Express routing for the requested /abc context path. Define the supported Shopify app configuration and verify that the app loads and routes correctly under that subfolder.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, node.js
Domain
backend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.