Skip to content

Instantly share code, notes, and snippets.

<!-- Add this to the Head section of your super site -->
<script>
// Say we host our Super site in a subdirectory e.g. https://example.com/blog
// We can redirect it properly in Cloudflare Worker, but relative links will break
// So we require some custom code to override absolute href paths & history state changes
if (window.location.origin === 'https://example.com') {
var baseDir = '/blog';
function historyMethodOverride(target, thisArg, argArray) {
// prepend baseDir if it isn't there
@shakaib-arif
shakaib-arif / README.md
Last active July 16, 2024 06:43
Azure Pipeline: iOS Application with App Extension

Pipeline: iOS Application with App Extension

Unfortunately there is not a straight forward way for the iOS application with App extension in Azure. But to make it work you'll have to do a couple of changes in the project that I'll share later.

Azure Pipeline: Xcode task

As per my recent experience to create the pipeline for such sort of application, the given xcode task from Azure is not capable to handle this case.

And I have later confirmed this from the PG team by reaching out to Azure DevOps support.